D
Damiano Michael
First i create a Jframe and put a Jlabel on it.
Second i create a class called "Square" with a method called
"Send_To_Label".
When i write something like this in the "Send_To_Label" method :
jLabel1.setText("Hello");
I get "cannot resolve symbole jLabel1".
How to write into a label from a different class where it is declared ?
Thanks.
Michael.
Second i create a class called "Square" with a method called
"Send_To_Label".
When i write something like this in the "Send_To_Label" method :
jLabel1.setText("Hello");
I get "cannot resolve symbole jLabel1".
How to write into a label from a different class where it is declared ?
Thanks.
Michael.