Hi! im needing to add an adittional layer to any control to implement a 
infiniteprogress while a query is running.

my aproach was to create a container where the original control is added 
and there add the second layer, but i dont nowif exist a clearest way to do 
it where its not neccary to encapsulate the component into another.

my code aproach is:

public class Layer {

    public static Container addLayer(Component con) 
        Container layer = new Container();
        //result.setLayout(new BorderLayout());
        Container result = LayeredLayout.encloseIn(con, layer);
        return result ;


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

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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to