Results 1 to 1 of 1
Thread: Jmenu bar...
- 01-10-2011, 03:14 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 17
- Rep Power
- 0
Jmenu bar...
Hello,
I am using a JMenuBar and i wanted that itīs sub-menus would 'pop out' when the mouse is over the item of the menu bar... i did that by using:
And of course i had to do the inverse, when the person takes the mouse off the item of the menu, the poped out sub itens would disapper:Java Code:private void menu_CadastrarMouseEntered(java.awt.event.MouseEvent evt) { menu_Cadastrar.setPopupMenuVisible(true); }
So far so good, but the problem is that when i take the mouse off the menu item "Cadastrar" and I try to drop down to the subitens of that menu, it disappers !! How can i fix that?Java Code:private void menu_CadastrarMouseExited(java.awt.event.MouseEvent evt) { menu_Cadastrar.setPopupMenuVisible(false); }
thanks!
Similar Threads
-
Need JMenu help
By robertbob in forum AWT / SwingReplies: 3Last Post: 05-16-2010, 05:12 AM -
JMenu help
By Kyle227 in forum New To JavaReplies: 3Last Post: 05-02-2010, 12:36 AM -
unwanted bug. JMenu
By ocean in forum New To JavaReplies: 7Last Post: 11-20-2009, 09:29 PM -
JMenu to JPopupMenu
By carderne in forum New To JavaReplies: 0Last Post: 02-28-2009, 06:07 PM -
JMenu and JRadioButtonMenuItem
By doron70 in forum AWT / SwingReplies: 3Last Post: 07-18-2007, 06:13 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks