Swings standalone to Applets
I have a standalone swings application and i need to convert this into applets that can be executed on web browser. The main class in swings GUI extends JFrame and that depends on several other files in different packages.
Basically, my GUI has nicely placed menus and buttons with icons on it and flowcharts are drawn.There are also message boxes popping up.
I have read through various topics in the forum and i found out that i might have to do the following.
1.Extend the main class to JApplet and replace the main class with init.
2.Instead of adding on the contentpane in swings, we now add by the applet itself using add() command.
3. Include main file and related jar files in applet tag.
The same is found at
http://java.sun.com/docs/books/tutorial/deployment/applet/getStarted.html
I was thinking if it as simple as this.Because as i understand , applets do not have full functionalities like swings. I mean that there are classes such as IconImage for images on icon and Jdialog for message boxes.There are not present in applets i think.
My question is
1.Does doing above three steps will solve the purpose and will the GUI remains exactly the same?.
2.If not, how do i get message boxes and icon images with the applets.?
Thanks a lot

