This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding a jframe to an applet

 
Elizabeth Luckose
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can I add JFrame to a JApplet, so that everyhting is displayed on the jframe?
If it is possible, How can it be done?when I do this, the frame is displayed separately (not attached to the applet)
Please help
Thanks,
Alice
 
Tim Holloway
Saloon Keeper
Posts: 18362
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
?
A "frame" in Java-ese is a distinct window - it differs from the other Java window classes in that it has minimal "decorations". If your problem is that you want to subdivide the applet area in the browser window instead of pop up a new window, use a Panel.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic