You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
HI SHAI! im interested to disable the interfase (touch screen) while im doing some query's i tryed with Display.getInstance().setTouchScreenDevice(false) but the device stills responding to the touch. what im doing wrong?
my code is:
public void showInfiniteProgress() { if (infiniteGenerado == false) { glass.setUIID("InfiniteProgress"); glass.setLayout(new BorderLayout()); Container infiniteContainer = new Container(); glass.addComponent(BorderLayout.CENTER, infiniteContainer);
TableLayout tl = new TableLayout(1, 1); infiniteContainer.setLayout(tl); Constraint consTL = tl.createConstraint(); consTL.setWidthPercentage(100); consTL.setHeightPercentage(100); consTL.setHorizontalAlign(Component.CENTER); consTL.setVerticalAlign(Component.CENTER); infiniteContainer.addComponent(consTL, new InfiniteProgress()); infiniteGenerado = true; } if (super.contains(glass)) { super.removeComponent(glass); }