Hellp All:

Usually when you want to modify some attribute of a component, say a JButton for 
instance, you already have a reference to that component as the result of 
something like:

        JButton button = new JButton();
        
But what if you would like to set that button's icon from a different class? Is 
passing the button in question as a parameter the only solution?

-Merwyn

Dedicated to the proposition of 100% Pure       Merwyn Welcome
                                                Technical Support Engineer
    _/_/_/_/_/ _/   _/      _/   _/             Premium Technical Support
       _/     _/_/   _/    _/   _/_/            
      _/     _/  _/   _/  _/   _/  _/           (650) 336-3973  Voice
 _/  _/     _/_/_/_/   _/_/   _/_/_/_/          (650) 863-3237  Fax
 _/_/      _/      _/   _/   _/      _/         (800) 894-8121  Pager
S  u  n    m  i  c  r  o  s  y  s  t  e  m  s   [EMAIL PROTECTED]


_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to