Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » JavaBean Class not detected
JavaBean Class not detected [message #903258] Wed, 22 August 2012 17:50 Go to next message
Marian Thieme is currently offline Marian Thieme
Messages: 11
Registered: August 2012
Junior Member
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


Re: JavaBean Class not detected [message #903268 is a reply to message #903258] Wed, 22 August 2012 18:57 Go to previous message
Marian Thieme is currently offline Marian Thieme
Messages: 11
Registered: August 2012
Junior Member
ok, seems declaring a corresponding variable of type MyBean solves the issue. Thanks, Marian
Previous Topic:Error when opening a part on Kepler (4.3M1)
Next Topic:SWT invalid thread access exception makes eclipse crash
Goto Forum:
  


Current Time: Sun Oct 26 05:08:51 GMT 2014

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

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