Hi Shai Almog,

How to put condition i below code without data ?? If I want to show/hide 
some label acording to the input data then how it possible?

*private* Container createGenericRendererContainer*(**)* *{*
    Container c = *new* Container*(**new* BorderLayout*(**)**)*;
    c.setUIID*(*"ListRenderer"*)*;
    Label name = *new* Label*(**)*;
    name.setFocusable*(**true**)*;
    name.setName*(*"Name"*)*;
    c.addComponent*(*BorderLayout.CENTER, name*)*;
    Label surname = *new* Label*(**)*;
    surname.setFocusable*(**true**)*;
    surname.setName*(*"Surname"*)*;
    c.addComponent*(*BorderLayout.SOUTH, surname*)*;
    CheckBox selected = *new* CheckBox*(**)*;
    selected.setName*(*"Selected"*)*;
    selected.setFocusable*(**true**)*;
    c.addComponent*(*BorderLayout.WEST, selected*)*;
    *return* c;*}*



If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator 
Device

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/470cb1e2-55aa-40e3-a17d-c20d06b60957%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to