I have a problem.
How i can run my java-applet directly without embedded in my web page?
I know appletViewr can execute applet without a browser but I need
Use below code with your code, where AppletClass is your Applet class.
AppletClass appletClass = new AppletClass ();
JFrame frame = new JFrame();
frame.setLayout(new GridLayout(1, 1));
frame.add(appletClass );
// Set frame size and other properties
...
// Call applet methods
appletClass .init();
appletClass .start();
frame.setVisible(true);
More customizations can be done as required.