• Post Reply Bookmark Topic Watch Topic
  • New Topic

Emin

 
Cristian Torrealba
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i have a problem with JMenu. I have a JMenuItem called "new". If this item is selected a JFileChooser Dialog is launched. After selecting the file and pressing "open" the JMenu is still open and the "new" Item is selected. But that seems to be only the image that was not repainted or disabled, because I can�t select any items. Only if I press the Menu again, I can reproduce my steps. Does anybody know why it is so and how I can get rid of it?
Thanks in advance
Cristi�n
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seeing some code would help.
BTW, "new" is a keyword in java. I certainly would not use it as an item in a menu by itself. Perhaps you are confusing the system???
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!