• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing derby database to Jtable or jtextarea  RSS feed

 
n v dhanya
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai, i want to display data from a derby database to Java swing table or Java Textarea. please help
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

We do not just hand out code. We would rather you try on your own and learn on the way. If you are stuck somewhere, we would be more than happy to help.
Check this out on how to get the most of the Ranch.

To display any DB data in a jtable, you will need to
1) Connect to the DB
2) Construct and run an appropriate query on the DB which will fetch you the required data
3) Encapsulate the retrieved data in a table model
4) Pass the model to a JTable instance and display it on the UI.

What have you got so far?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dhanya nv wrote:

Please check your private messages for an important administrative matter.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!