• Post Reply Bookmark Topic Watch Topic
  • New Topic

display data from the textfile into JTable..urgent..thanks  RSS feed

 
fiddy chan
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got a textfile named myFile.text and i need to retrieve the data from this textfile and display the data in the JTable. can pls give me somw idea how i suppose to do this.. i need it very urgently.. thanks alot..
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain in which format you want to get the data and display in JTable. From format i mean arrangement of data.

How your data is arranged in Text file and how you want to display it in JTable.
[ April 15, 2004: Message edited by: Ali Gohar ]
 
fiddy chan
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for ur reply.. i got two data(expense and amount) to display.. my format of displayin the data is that there is two column (which display individual data).. i know that i need to use array.. but e part i not sure is how to retrieve the data from textfile and display them.. thanks for helping me..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!