Swing : Applet runs via ide but not via browser-

I have a swing Applet that uses embeded Jpanels with BorderLayout and TableLayout. I have got things working when run via Intellij. But when it is run via a broswer (ie/firefox) nothing shows and it hangs.

Any tips?

Thanks, Tom.

3 comments
Comment actions Permalink

I have tried to run via the appletviewer but get errors.

0
Comment actions Permalink

Turns out I was using TableLayout and as this is outside the jde, the browser did not know what it was. I added TableLayout.jar to the archive attribue of the ]]> tag and hey presto :)

0

Please sign in to leave a comment.