I have a applet source code. how to change this to swing source?thanks before..
Printable View
I have a applet source code. how to change this to swing source?thanks before..
Is this your code or did you obtain it from an online or other source?
edit: I looked at the code and it's all AWT code. There's no automatic way to translate this to Swing. Your solution is to study the Swing tutorials, learn Swing and re-code this as a Swing application.
Much luck!
can anyone help me? I'm confused
There's nothing that we can say other than for you to study the tutorials and learn how to code in Swing. I'm not sure what else you are asking of us that is feasible for us to do. No one is going to code this for you.
Quick and dirty change: Add J as prefix to AWT class names to make them Swing class names. Then fix the compile errors. Then fix the runtime errors.