This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Posted by jinaraj on January 29, 2001 at 3:52 AM
This is a class file that displays a Frame.
public static void main(String ss)
Frame f=new Frame();
Write one manifest file for it.
save it as test.manifest
Create a jar file with the following command
jar -cfm test.jar test.manifest Test.class.
This jar file will be executable. Just double click on it, you will see one frame. (The window closing event is not handled)