Re: Accessing Buttons, Labels and Panels

Gerald Bauer <[email protected]> Wed, 6 Apr 2005 18:31:55 -0700 (PDT)
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Hello Dasaev Cerqueda,

>      The problem is that i have found the methods to
> obtain Components
> as ImageIcon[], JMenuBars, JToolbars, etc. I talk
> about the following
> methods:
> 
> xul.lookupAnim("a string");
> xul.lookupMenuBar("a string");
> xul.lookupToolBar("a string");
> 
> but i cannot access to a simple button with some
> method. I need this
> to be able to change the text in a status bar. could
> you help me?.

  To get access to a simple button the best approach
is to get a reference to the panel/box holding the
button and than using the get method (from the
JPanelEx class). 

> Another question, could you say me where is the
> reference to the
> statusbar and  statusbarpanel tags?. 

   The statusbar and statusbarpanel tags are currently
undocumented. So its best to check the source as the
definite reference.

   - Gerald


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click