• Post Reply Bookmark Topic Watch Topic
  • New Topic

Strange problem, closing dialogs

 
George Siountris
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application I use JmenuBar and JmenuItems and a class adapter for event handling

and a class adapter for event handling

everything works fine when Help|About pressed(the dialog appears)
though when I try to close it I must press ok button twice!?
Need help to solve this problem.(same problem with other dialogs in my application).
 
Rama Ituarte
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the code look like in the Adapter class that is handling the events?
 
George Siountris
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did a mistake during copy paste..the right adapter class is

[ October 17, 2002: Message edited by: George Siountris ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!