Hi,
I have a question about pushing data from the client to the server. I use:
parent.access(new Runnable() {
@Override
public void run() {
updateDevice(configuration);
}
});
This works fine and I see the update in my table (which shows all devices).
First question is about client and server side code. The above is called directly from pushing a button and the user entering some changes but also from a background thread when changes are received from somewhere else. In the first case I wouldn’t need the access method, does it hurt if I do anyway?
Second question is: can these access calls be nested? For example when inside the updateDevice call I also update some other component (log area in this case) in the same manner.
Final question is about my GUI blocking (or is very slow) after a couple of interactions. Is this related to my first two questions, or can there be something else wrong? At first I see all changes happening immediately, and suddenly I don’t see them, but only after 10 or 20 seconds and the GUI is not responsive anymore.
Any thoughts would be appreciated.
Ad.