Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java question
#3
Oh oops, didn't see this thread yesterday

I just had a look myself in the api. I'm assuming you are talking about TextArea.

There are setText and getText methods. However, they are in the inherited methods list (Inherited from TextComponent). The thing I find the worst when GUI programming in Java is the fact that half the methods are shown in a tiny little box called "Inherited methods". I'm guessing that you had trouble finding it because of that? Sad
It wouldn't just be a problem with GUI's though. Basically any class where a lot of its functionality is inherited Sad
Reply


Messages In This Thread
Java question - by Deviant - 2010-01-08, 05:10 PM
Java question - by Spaz - 2010-01-09, 03:59 PM
Java question - by Heidi - 2010-01-09, 04:08 PM
Java question - by thistwilight - 2010-01-09, 07:06 PM
Java question - by Deviant - 2010-01-10, 04:01 PM
Java question - by Spaz - 2010-01-10, 04:21 PM
Java question - by Deviant - 2010-01-10, 04:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)