File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Populating JTable from an Oracle DB

 
Vincent_Martinez
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need some guidance on how I can populate a JTable from a DB. I think I may have to extend AbstractTableModel and retrieve the data in this implementation. Then pass that to the JTable? I am not sure. I just want to know the best way to show the users this table that has a fixed number or rows and cells. Any code reference or other ideas would be greatly appreciated. Thanks.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

"Vincent_Martinez"
your name doesn't agree with the javaranch guidelines.
please re-register after reviewing the guidelines at
http://www.javaranch.com/name.jsp
thanks for your cooperation.
- satya
 
Vincent Martinez
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about that.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

No problem. Thanks for your prompt action.
I really appreciate it.
FYI...your other account will be deleted.
- satya
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Also, I am closing this thread since you have
posted it again and the other one already has
some replies.
- satya
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic