🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9885

JMenu and JPanel

#9885
From: Alexandre Reis
Date: Thu, 23 Dec 1999 00:00
14 lines
997 bytes
Somebody who works with me has created a class that extends JPanel.
This class is a calendar gui.

Now I want to add this calendar to a JMenu or something that looks like
it.

What I want to do is when the user clicks on a label, the calendar shows
up at the bottom of that label.  When the date is selected then the
calendar disappears.  Somebody told me that the best way to do that was
to add it to a JMenu.  Can anybody point me to the right direction?

Thanks in advance.

Alex.
Technical Details
Message-ID: <38627F9A.287C2AE1@mitra.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,7c0ccc2564f67082,start
X-Google-Attributes: gid111d45,public
From: Alexandre Reis <areis@mitra.com>
Subject: JMenu and JPanel
Date: 1999/12/23
Message-ID: <38627F9A.287C2AE1@mitra.com>
X-Deja-AN: 564297792
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing