Results 1 to 1 of 1
- 12-22-2007, 09:22 PM #1
Member
- Join Date
- Dec 2007
- Posts
- 2
- Rep Power
- 0
Problem Exporting a Jar as an Applet
I am having an issue Exporting a Jar to be used as an Applet. I can "Run As Applet" within the IDE, but when I use the Export tool, It does not see the the Applet.class (which contains the init() method I need to run)
Can anyone shed some light?
Thanks
the Applet Class below:
package gameManager;
import javax.swing.JApplet;
public class GameApplet extends JApplet {
private static final long serialVersionUID = 1L;
/**
* This is the default constructor
*/
public GameApplet() {
super();
}
/**
* This method initializes this
* @return void
*/
public void init() {
Operation operator = new Operation();
operator.run();
System.out.println("GameApplet");
this.setSize(750, 660);
this.setVisible(true);
this.setEnabled(true);
//JPanel panel = new JPanel();
//panel.add(new Label("Hello World"));
this.add(operator.getJPanel());
}
}
Similar Threads
-
Serious applet problem
By willemjav in forum Java AppletsReplies: 1Last Post: 03-25-2008, 05:01 PM -
IMPORTANT: Applet Problem Please Help!
By nvidia in forum Java AppletsReplies: 1Last Post: 01-22-2008, 02:25 AM -
applet problem plz HELP
By shibajisanyal in forum Java AppletsReplies: 1Last Post: 01-09-2008, 01:47 AM -
problem with jscrollbar in my applet
By leonard in forum Java AppletsReplies: 1Last Post: 08-03-2007, 11:39 PM -
Applet problem
By Ed in forum Java AppletsReplies: 2Last Post: 07-02-2007, 03:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks