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.
请先登录再写评论。
I have tried to run via the appletviewer but get errors.
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 :)
Done.