Re: Drop-Down-Menu in JToolbar
- From: John <john@xxxxxxxxxx>
- Date: Tue, 27 May 2008 09:27:14 +0200
Thorsten Kiefer a écrit :
Hi,
I've seen drop-down menus in e.g. eclipse, but I don't know how
to create that. It's not possible to add JPopupMenu to JToolbar.
You cann add a MouseListener on JToolbar, so you must be able to show a popup menu. If isPopupTrigger always return false on JToolbar, you can show the popup on mouseReleased for example.
.
- References:
- Drop-Down-Menu in JToolbar
- From: Thorsten Kiefer
- Drop-Down-Menu in JToolbar
- Prev by Date: Re: JScrollPane content sizing
- Next by Date: Re: Drop-Down-Menu in JToolbar
- Previous by thread: Drop-Down-Menu in JToolbar
- Next by thread: Re: Drop-Down-Menu in JToolbar
- Index(es):
Relevant Pages
|