if i create an japplet useing swings. i compile it and i get the class file now when is try to write a html code for viewing the applet i am not able to view the applet y? is it the problem with the code or with the browser? but the same code works with appletviewer. useing swings v can create msg. boxes even this is not visible on the browser y?
Some recent browsers support Java 2 (which is needed for Swing), but many still only support Java 1.02, which only includes AWT. You can download a (large) plugin from Sun for each of the latest Java versions which will work to extend Netscape Navigator and Internet Explorer and provide all the facilities you need. Bear in mind that there are a few small changes which you will need to make to your HTML (ie, use EMBED or OBJECT instead of APPLET tags to indicate to the browser that it should run Java) if you use the plugin.