Skip to main content

Database application

3 replies [Last post]
elip
Offline
Joined: 2008-03-09
Points: 0

I want to create database application and I use Netbeans -> New Project -> Java Desktop Application -> Database application. I connect with my database and create the application and everything work perfect, but only for one table. I have 16 tables (relations) in database and don't know how to put all of them in the application. Can anyone help me?
Thanks in advance!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
infocom
Offline
Joined: 2008-04-14
Points: 0

I have the same issue. This turtorial got me started http://www.netbeans.org/kb/60/java/gui-db.html but as you say its for one table. I would like the main screen to list the main table, but when clicking New/Edit, I can have a pop up window to enter the new data, not have the new data on the same window. Then have other tables edited in a simlar manner. I also cannot seem to learn how to have a drop down of values taken from one table, but the ID of the values needs to be inserted in the main table.

I am wondering if there is a tutorial on this. Thanks

alexjava2008
Offline
Joined: 2008-04-09
Points: 0

I fear that the only solution lies in learning sql and at least the basic principles of relational databases.
There are a lot of guides on internet. ;)

kabura
Offline
Joined: 2008-03-10
Points: 0

I have goT the same problem ... My tables are just 5 but i want to make the same thing! ?
So can someone offer me any solution ... "elip" i will be very thankfull to you if
you post your solution to this problem! Thank you all!!! :)