Unable to load class error [message #143171] |
Mon, 26 November 2007 19:30 |
Eclipse User |
|
|
|
Originally posted by: kamran.hamid.niit.edu.pk
Hello Folks.. i am a newbie to VE. i downloaded it and installed the
plugin.
Now when i create the visual class, and then try to run it like
run->java bean
it gives me error
IWAV0049E Unable to load class javas.threadss.First
Here is my code
package javas.threadss;
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JFrame;
import java.awt.Dimension;
public class First extends JFrame {
private static final long serialVersionUID = 1L;
private JPanel jContentPane = null;
/**
* This is the default constructor
*/
public First() {
super();
initialize();
}
/**
* This method initializes this
*
* @return void
*/
private void initialize() {
this.setSize(300, 200);
this.setContentPane(getJContentPane());
this.setTitle("Hello");
}
/**
* This method initializes jContentPane
*
* @return javax.swing.JPanel
*/
private JPanel getJContentPane() {
if (jContentPane == null) {
jContentPane = new JPanel();
jContentPane.setLayout(new BorderLayout());
}
return jContentPane;
}
}
Plz Help Me!!
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04132 seconds