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?
It wouldn't just be a problem with GUI's though. Basically any class where a lot of its functionality is inherited
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?

It wouldn't just be a problem with GUI's though. Basically any class where a lot of its functionality is inherited

