Re: Component/Widget naming (Swing vs. SWT)




"René Scheibe" <Rene.Scheibe@xxxxxxxxxxxxxxxxxx> wrote in message
news:e8tnnr$eub$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi there,

i am new to Java and was wondering if it possible
in SWT to name the widgets as it is done in Swing
with getName() and setName() for the components

Thanks
Use the setData() and getData() methods, using "Name"
or something similar as the key.
--
Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Software Reuse Project



.



Relevant Pages

  • Component/Widget naming (Swing vs. SWT)
    ... in SWT to name the widgets as it is done in Swing ... with getName() and setName() for the components ...
    (comp.lang.java.gui)
  • Re: Code
    ... Balaji gives furthe details below. ... > start making vacuum cleaners." ... it is possible that the getname() method might do a lot of work ... Boeing Associate Technical Fellow ...
    (comp.lang.java.programmer)