• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to read values from txt file & input in JTable?

 
Navdeep Singh Sidhu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

I'm trying to improve this java application which i have seen on this page

http://www.java-tips.org/java-se-tips/javax.swing/how-to-create-a-download-manager-in-java.html

I'm trying to read data from a txt file & want to input in it's Jtable. So i'm looking for some help?

txt file format is


http://docs.oracle.com/javase/specs/jls/se7/jls7.pdf &&@ 310779 &&@ 100.0 &&@ Downloading &&@
http://www.ubuntu.com/start-download?distro=desktop&bits=64&release=lts &&@ 73221324 &&@ 3.0 &&@ Downloading &&@

where &&@ is split string.

Thanks in Advance !!!
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you show us what you have so far? What have you tried that does not work?
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for example, I imagine you'll use some kind of button in the downloadManager.java to initiate an import from that text file. Have you added this button?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!