Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

progress bar  RSS feed

 
Joey Brown
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jtextfield that I'm sending all output to. I'm wondering is there a way to control a progress bar by counting the number of lines of output? Say I have 10000 lines of system output. If so is there a tutorial or some info on this?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
scroll down to "How to use Progress Bars"

http://java.sun.com/docs/books/tutorial/uiswing/TOC.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!