wood burning stoves 2.0*
The moose likes JavaFX and the fly likes NetBeans JavaFX Composer, jdbc, binding erroneous errors! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "NetBeans JavaFX Composer, jdbc, binding erroneous errors!" Watch "NetBeans JavaFX Composer, jdbc, binding erroneous errors!" New topic
Author

NetBeans JavaFX Composer, jdbc, binding erroneous errors!

Stephen Davies
Ranch Hand

Joined: Jul 23, 2008
Posts: 352
Is it just me or is there some deep rooted issues with running Netbeans 6.9 on Linux? I have floundered on multiple issues during my fx development project, all of which I will not recall here. However I would like to put out an SOS to the community in the hope that help may be at hand, especially since Google is becoming increasingly.. well awful at returning relevant information, even with advanced searches.

Running Netbeans on th latest Ubuntu release, all is well in my project code fine, mysql database found etc etc. At a first run, I can successfully map a ListView to information in a table on my database (using the Netbeans composer binding wizards). However trying to bind using a cellFactory to bind to the items of the list view to the exact same data Source (of course removing the original binding) throws a moan about returning an object when a record is needed. Fair enough but my converter selected from the bind wizard is (asReord).getString(), so how it thinks its a raw Object, I have no idea.
To put it in clearer terms here are a few code snippets.



If I repeat this process without the listCell and simply bind all records in the dataSource to the ListView with the Records[] > String[] conversion all is well. I would choose this if it were not for the fact there seems to be no other way to format the style of the listCell items, nor add an action on each one without using a listCell.

The most confounding thing of all, is if I try this at home on my Mac, it works! Go figure!


be a well encapsulated person, don't expose your privates, unless you public void getWife()!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NetBeans JavaFX Composer, jdbc, binding erroneous errors!
 
Similar Threads
Dblclick and Click event handlers not invoked - used jQuery
MVC form action problem
Netbeans JTable Binding - Retrieve data from selected rows
how to send multiple data in a table in a mail application?
MultiDimenaional Array sort