Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » JFace Automatic Databinding; Class does not exist error(Automatic Databinding wizard says for an existing class it does not)
JFace Automatic Databinding; Class does not exist error [message #1374820] Thu, 22 May 2014 20:25 Go to next message
onabu naver is currently offline onabu naverFriend
Messages: 1
Registered: May 2014
Junior Member
Hello,

I am trying to use the "JFace Automatic Databinding" wizard.

I right click on an existing class from one of the packages in my project and

After navigating to file->new->other->"WindowBuilder/SWT Designer/Databinding/JFace Automatic Databinding" and clicking next, I enter a name and then I click next. In this page which is the one titled "Databindings" and in which I need to select the bean class that contains properties, I select a class which I have created. But the title says "Choose a bean class that contains properties: Class does not exist."

But the class I select do exist.

This is the bean class I select:
public class SomeClass {

	private String name;
	
	public SomeClass() {
		// TODO Auto-generated constructor stub
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}


What am I doing wrong?

The version of Eclipse I am using is:
Eclipse Standard/SDK
Version: Kepler Service Release 1
Build id: 20130919-0819

And the Windowbuilder version is:
1.6.1.r43x201309092314
Re: JFace Automatic Databinding; Class does not exist error [message #1377756 is a reply to message #1374820] Sat, 24 May 2014 01:15 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 882
Registered: July 2009
Location: Boston, MA
Senior Member
Worked just fine when I tried it.

You probably have a classpath problem of some sort.
Re: JFace Automatic Databinding; Class does not exist error [message #1384649 is a reply to message #1374820] Fri, 30 May 2014 00:36 Go to previous messageGo to next message
evmika evmika is currently offline evmika evmikaFriend
Messages: 2
Registered: May 2014
Junior Member
Same problem for Swing designer, no success.

Version: Kepler Service Release 2
Build id: 20140224-0627


WindowBuilder Core
1.6.1.r43x201309092314



Quote:
Create an Swing container with automatic generated JSR-295 bindings

By the way, JSR-295 is dead.
Re: JFace Automatic Databinding; Class does not exist error [message #1385284 is a reply to message #1384649] Thu, 05 June 2014 11:42 Go to previous message
evmika evmika is currently offline evmika evmikaFriend
Messages: 2
Registered: May 2014
Junior Member
Everything works, on fresh eclipse, just don't forget to download beansbinding.jar and include it in your build path.
(not from java2s.com, it was broken for me).
download.java.net/maven/2/org/jdesktop/beansbinding/1.2.1/ works nice.

Also install window builder swing stuff from eclipse repository.
Previous Topic:Data Binding to JComboBox
Next Topic:drop down box
Goto Forum:
  


Current Time: Sat Nov 22 16:55:56 GMT 2014

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

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