• 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: 9340
10
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic