if i want to show a message in the text area ?? how to make it...
i am in class Inventory , and for example i want to write a message welcome in the text area that id declared in another class ,,
--------Class Invenrtory ------------
for example in class Inventory
here the problem with area,, cant be recognized... do i have to make import or something ?? how to make it plz help !!
area.setText("Welcome") << cant find area //?????????
because area is declared in another class called Graphics...
JTextArea area = new JTextArea();
We are discussing your answer in your first thread...
javanew, please don't multipost the same question in the forum. One post is enough. I'm locking this thread.