Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages
Started by Matthew Sweet
Sat, 29 Nov 2003 20:06
Pop-Up Window
Author: Matthew Sweet
Date: Sat, 29 Nov 2003 20:06
Date: Sat, 29 Nov 2003 20:06
3 lines
1088 bytes
1088 bytes
Can anyone help in creating a custom pop-up window. The funcionality I want is a pop-up menu but I want to be able to customize the menu like it is a design window and make it a bit more graphical.
Re: Pop-Up Window
Author: John McGrath [TeamB]
Date: Sun, 30 Nov 2003 01:38
Date: Sun, 30 Nov 2003 01:38
18 lines
1520 bytes
1520 bytes
On 11/29/2003 at 3:06:48 PM, Matthew Sweet wrote:
> Can anyone help in creating a custom pop-up window. The funcionality
> I want is a pop-up menu but I want to be able to customize the menu
> like it is a design window and make it a bit more graphical.
Despite its name, there is nothing about a JPopupMenu that requires
that it contain menu items. It can contain any type of JComponent you
want. Just create the components and add them to the JPopupMenu.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads