views:

24

answers:

1

I'm building an application with a form that I'd like to populate with questions from a database table.

Is it possible to do this in the Netbeans GUI designer so that each question is inserted into the label of a checkbox element?

My initial idea of how to do this would be to get a result set back from the database and loop it, however I'm new to the Netbeans environment and tying this in with the GUI designer is escaping me....

A: 

NetBeans learning trail contains one tutorial explaining the Beans Binding and creating Database application through wizard.

The tutorial is located at http://netbeans.org/kb/docs/java/gui-db.html

You can create a template application using this tutorial and then use the concepts and code provided in the wizard generated application in your application to do the binding of the elements with the data from database.

with regards
Tushar Joshi, Nagpur

Tushar Joshi