• Post Reply Bookmark Topic Watch Topic
  • New Topic

Menus In Applet

 
sharad goswami
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we have menu on applet without using the frames??.If yes how ,if not y?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If by menu you mean an instance of java.awt.MenuBar, then no. Only Frame and its children support that.

But you're certainly free to implement your own menu and stick it at the top of a Panel.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!