File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes JTextArea behaviour  in W2K and W98 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JTextArea behaviour  in W2K and W98" Watch "JTextArea behaviour  in W2K and W98" New topic
Author

JTextArea behaviour in W2K and W98

Patrick Muls
Greenhorn

Joined: Aug 08, 2001
Posts: 25
I noticed that the instruction:
ta.getLineCount()
for an empty JTextArea ta returns 0 in W2K and 1 in W98.
 
Consider Paul's rocket mass heater.
 
subject: JTextArea behaviour in W2K and W98