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:

Java Code:
private void menu_CadastrarMouseEntered(java.awt.event.MouseEvent evt) {                                              
      menu_Cadastrar.setPopupMenuVisible(true);  
}
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_CadastrarMouseExited(java.awt.event.MouseEvent evt) {                                              
      menu_Cadastrar.setPopupMenuVisible(false);  
}
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?

thanks!