• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Applet Window?

 
David Llewellyn
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Applet I've written is working perfectly, but it does not display within the browser, instead a black box displays in the browser and pops-up a Java Applet Window.
is this because I'm using JApplet and a Java3D canvas3d for display?
 
Joe Ess
Bartender
Posts: 9372
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Judging from your previous post, I'd say you still have code in your "applet" which creates and displays a frame. Do you have "JFrame" or ".show()" or ".setVisible(true)" anywhere? No reason to have those in an applet unless you want an independent frame popping up.
 
David Llewellyn
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, you were right, it works fine now
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!