This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JavaFX and the fly likes NetBeans JavaFX Composer, jdbc, binding erroneous errors! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JavaFX
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: NetBeans JavaFX Composer, jdbc, binding erroneous errors!
 
Similar Threads
how to send multiple data in a table in a mail application?
MultiDimenaional Array sort
Netbeans JTable Binding - Retrieve data from selected rows
Dblclick and Click event handlers not invoked - used jQuery
MVC form action problem