java - How to modify a Jlabel using a different class? -
hello wonder how create class modifies consisting jlabel ( placed in class). able choose jlabels color, size , on , use class in 1 containing jlabels.
how started : http://pastebin.com/xujjrjzk;
any appreciated!
- create 1 class applicationmanager.
- create 1 jlabel jlabel1.
- create setter , getter method jlabel.
- call setter method original class constructor.
and call getter method want.it return reference of original jlabel,you can call settext or other method getter method return jlabel.
Comments
Post a Comment