• 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
Bartender
Posts: 18471
61
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!