• Post Reply Bookmark Topic Watch Topic
  • New Topic

Must the JFrame always open a separate Java Applet Window?

 
George Thomas
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can a JFrame be positioned directly on an HTML page and not always open the Java Applet Window? Adding components to the plain JApplet content pane doesn't open the separate window.
The reason why I need to do this is that I have a drag and drop application using the JTree which works just fine inside the Java Applet Window but fails to recognize DnD events on the plain old JApplet content pane...
Boss wants a fixed Tree sitting on a page...
Is there possibly a way to fill the browser window with the Java Applet Viewer (that might appease him)...

------------------
 
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!