Constraint c = 
(Constraint)((TableLayout)CENTRE.getLayout()).getComponentConstraint(TOPBIT);
            if (c==null);
            {
                _("constraint is null cant adjust it!");
            }
c.setHeightPercentage(100);

Somehow in this snippet I see the message telling me c is null, but then 
the command setHeightPercentage works fine, very strange. I wonder if there 
is a bug somehow in the check for null (or because its static or 
something?), just reporting out of interest it doesnt affect me. 

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/b119285e-2738-4859-981c-868aa1c47329%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to