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!

  1. create 1 class applicationmanager.
  2. create 1 jlabel jlabel1.
  3. create setter , getter method jlabel.
  4. 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

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

angularjs - ng-repeat duplicating items after page reload -