Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Window Application Programming + JDBC

 
Nelo Angelo
Ranch Hand
Posts: 44
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to design a Window Application that can fetch entries from a database and show it in a tabular form.

I know how to fetch the data with ResultSet but I am having difficulties with displaying the data in a tabular form in the same window application.

Please help me with the code or a link to the tutorial page that shows the use of tables in Java Win Apps.
 
Manuel Petermann
Ranch Hand
Posts: 177
Hibernate Linux Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which gui framework do you want to use?
I'm writing a swing application with hibernate at the moment.
If you are new to swing this is a good place to start: http://download.oracle.com/javase/tutorial/uiswing/components/index.html

I am pretty sure you won't just need tables for your gui. In fact they are only usefull for your *tomany relationships.
If you need more help feel free to ask.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic