It is possible to create a drop down button.. Use a JToggleButton . In the actionPerformed of it create a JPopupMenu with JMenuItems. Position the JPopupMenu relative to the toggleButton to get the drop down effect. regards manoj
gghumman@student. umass.edu To: [EMAIL PROTECTED] Sent by: cc: advanced-swing-ad Subject: Jbutton with a menu (eg; JMenu) [EMAIL PROTECTED] 01/03/03 05:06 AM Is it possible to create a button, which on clicking, cause a menu to pop up beside it? I just know that I can use JMenuItem and JMenu and add them to JMenuBar but I want to use a button or an image instead. Can anyone help out? Thanks - Vikram _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing