943,671 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 760
  • Java RSS
Nov 28th, 2008
0

JTable

Expand Post »
I currently have an Oracle database, a Java Program, and a text file. Text files are being read by the system, which automatically updates the database. How would I make a JTable to make the database be displayed nicely in a JFrame?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ebiz is offline Offline
16 posts
since Nov 2008
Nov 28th, 2008
0

Re: JTable

Click to Expand / Collapse  Quote originally posted by ebiz ...
I currently have an Oracle database, a Java Program, and a text file. Text files are being read by the system, which automatically updates the database. How would I make a JTable to make the database be displayed nicely in a JFrame?
declare one, fill it up with your data and add it to your Container.
to make it fit nicely, you 'll have to take in account the settings to set the size (width and height) and those of your JFrame
Reputation Points: 919
Solved Threads: 354
Nearly a Posting Maven
stultuske is offline Offline
2,487 posts
since Jan 2007
Nov 28th, 2008
0

Re: JTable

Not sure what you mean by "displayed nicely", but here is classic tutorial from Sun on JTable
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,654 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Getting an ArrayIndexOutOfBoundsException:3
Next Thread in Java Forum Timeline: editing file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC