JavaBean Class not detected [message #903258] |
Wed, 22 August 2012 17:50  |
Eclipse User |
|
|
|
Hello,
When creating a windowbuilder project, in this case it is an ApplicationWindow below SwingDesigner I cannot figure out how to assign JavaBean classes to it.
I can open the Source, Design and the Bindings View and according to the doc, from the latter (Bindings view) I should be able to associate Beans to my swing project.
For this purpose I created a Java(Bean)class like this:
package mypkg.gui;
public class MyBean {
private String name;
public MyBean() {}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
and placed it into the same package. But nothing except "Virtual" and "frame Jframe" is displayed in the Target(Beans) and Model(Beans) Windows.
Do I have to provide something more ? What is necessary in order to let windowbuilder detect my bean ?
Thank you,
Marian
|
|
|
|
Powered by
FUDForum. Page generated in 0.04706 seconds