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(); layer.getAllStyles().setBgColor(0xff0000); layer.getAllStyles().setBgTransparency(100); //result.setLayout(new BorderLayout()); con.remove(); Container result = LayeredLayout.encloseIn(con, layer); return result ; } } thans. 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 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/264756f9-11e6-430f-ac63-202b07d9662d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.