Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTextArea behaviour in W2K and W98

 
Patrick Muls
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I noticed that the instruction:
ta.getLineCount()
for an empty JTextArea ta returns 0 in W2K and 1 in W98.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic