Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  integrating an applet onto a swing panel  (Read 1062 times)
0 Members and 1 Guest are viewing this topic.
Offline emzic

Senior Devvie





« Posted 2007-05-21 08:59:48 »

hello, does anyone know of a possibility to display a java applet on a swing or awt panel in a regular java application?

thanks!

www.embege.com - personal website
webstart blendinspect - OpenGL BlendingModes visualization.
Offline broumbroum

Junior Devvie





« Reply #1 - Posted 2007-05-21 09:55:44 »

that is simple as adding a common component.
you will have to manually init the applet and then set its visibility on. Cheesy

::::... :..... :::::: ;;;:::™ b23:production 2006 GNU/GPL @ http://b23prodtm.webhop.info
on sf.net: /projects/sf3jswing
Java (1.6u10 plz) Web Start pool
dev' VODcast[/ur
8: Undefined index: online
File: /home/jgo/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 161