This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Run JApplet and no JMenuBar - Help!!

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
I have attached a JMenuBar to a JApplet using setJMenuBar(..). When I run the Applet (browser or viewer) no JMenuBar appears. However if I click (several time) on to the Applets content pane near left top - sometimes a malformed menu bar appears with one of the submenus that was added at design.
Any-one have any thoughts on this?
Regards
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Stephen,
Not sure what you are doing, but the example below works great for me using Win2K and JDK1.3.

To run it you can type the following on the command line:
appletviewer AppletMenu.java
Regards,
Manfred.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic