• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

which can be added to what?

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Wheather panel can be added to frame?
wheather menu can be added to meubar?
im really confused with these type of questions.
Any experts can say how i can understand the concept related with this clearly
regards..
Jaya Murugan
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello friend
whether panel can be added to frame?
answer is yes ,you can add panel into the frame because frame is container.
similary you can only add menu to menubar and menubar only and only you can add to the frame.
if you try to add menubar to other container compiler give compileation error.
Thank for given qyuestion.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear,
we can add Panel as well as MenuBar in Frame.If u want to learnmore about this topic u can use official Sun courseware or Complete Reference book,they written a lot program about this.
Simply as per ur need u use panel to add in Frame.
We r adding Panel into Frame using add() method.
We can only setMenuBar in Frame,we cannot setMenuBar in panel.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic