File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

menu not showing up on gui window

 
Bud Tippins
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the code that I have related to the menu. The menu is just not showing up on the window. What am I missing? Thank you for your help.

 
Ralph Cook
Ranch Hand
Posts: 479
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks all right to me. Are you executing this outside the UI update thread, perhaps?

rc
 
Rob Camick
Ranch Hand
Posts: 2473
8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the code that I have related to the menu.


We don't know where/when this code is invoked. Post your SSCCE that demonstrates the problem.
 
Bud Tippins
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ralph,

That was the problem. I had the Menu setup after



I moved it to before and it is now working.Thanks for your help.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic