Hello Fabio,
Thank you for reply.
- The SuperWaba forum looks OK , but when I want to register I receive:
An Error Has Occurred! Sorry, registration is currently disabled. [You may check this link:
http://forum.superwaba.net/index.php?PHPSESSID=c5d1c35deef0b2ec1f91394821d03f3c&action=register]
- I have tried to addapt the code you was so kind to send me, but in my case, I need it to be a little different, since I have to test the SyncLib from a test class:
public class testClass extends MainWindow {
public testClass()
{
SyncPanel sp = new SyncPanel();
sp.isDebug = true; // sp.setDebug(true);
add(sp); // SuperWaba does not allow add(sp, LEFT, TOP, FILL, FILL);
sp.onStart(); //launch the SyncPanel
}
}
Here is the Container
public class SyncPanel extends Container {
.....
public void onStart() {
if (Parameters.doSync == true) {
int h = Settings.screenHeight * 1 / 6;
add(lblDebug = new Label("", CENTER), LEFT, h);
....
I got a warning right after add(lblDebug...
Warning! synclib.SyncPanelNew@17918f0 must have its bounds set before calling
waba.ui.Label@1546dbc.setRect