Re: [Popupmenu]What is the use of Label and Name



On Wed, 08 Jul 2009 02:16:45 +0200, Daniel Moyne
<daniel.moyne@xxxxxxx> wrote, quoted or indirectly quoted someone who
said :

myPopupMenu =setName("STRING");

Name is useful to find out which source created an event.

You can also hide the field's name in that field to use in prompts and
error messages.

IT can also be useful in debugging to help keep are your components
sorted out, especially if you have many of the same type.

--
Roedy Green Canadian Mind Products
http://mindprod.com

"Out of 135 criminals, including robbers and rapists, 118 admitted that when they were children they burned, hanged and stabbed domestic animals."
~ Ogonyok Magazine 1979.
.



Relevant Pages

  • Re: new JDK 1.7.0_04 and 1.6.0_32
    ... I have written some hand-holding notes at ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.programmer)
  • Re: Issue With ArrayList
    ... Roedy Green Canadian Mind Products ... Rapidly agin'. ...
    (comp.lang.java.programmer)
  • Re: Java serialization over network
    ... Roedy Green Canadian Mind Products ... "Danish studies of 10,000 birds killed revealed that almost all died in ...
    (comp.lang.java.programmer)
  • Re: Clearing the cmd window
    ... Roedy Green Canadian Mind Products ... "The most significant trend in the US industry has been the decline in the amount ...
    (comp.lang.java.help)
  • Re: unbelievable NullPointerException
    ... And put in some explicit asserts to check for null. ... Roedy Green Canadian Mind Products ... "Out of 135 criminals, including robbers and rapists, 118 admitted that when they were children they burned, hanged and stabbed domestic animals." ...
    (comp.lang.java.programmer)