Panel p = new Panel(); p.add(t1); p.add(t2); p.add(l); c.add(p);
while (true) { t1.setText(Integer.toString(count1++)); t2.setText(Integer.toString(count2++)); try { sleep(500); } catch (InterruptedException e){} }
if(!started) { started = true; super.start(); }
Sharing2.incrementAccess(); if(count1 != count2) l.setText("Unsynched");