Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Unable to load class error
Unable to load class error [message #616891] Mon, 26 November 2007 19:30
Eclipse UserFriend
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!!
Previous Topic:extending VE in other languages
Next Topic:Unable to load class error
Goto Forum:
  


Current Time: Wed Nov 26 18:00:03 GMT 2014

Powered by FUDForum. Page generated in 0.46228 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software