Listen for changes to PROPERTY_WIDTH and PROPERTY_HEIGHT using a PropertyChangeListener. However, the listener will not be directly invoked, only after a server interaction takes place (for example, user pressing a button).
You can modify the WindowPane.js file so that it will send a client message on a resize. I did a similiar fix on SplitPane.js so that it would send back on resizing the split. I don't know exactly where in WindowPane you have to add the command, but what you want to do is find the function that deals with resizing and then add in this somewhere towards the end of the function:
EchoServerTransaction.connect();
If I have time later, I can look inside WindowPane.js and find the correct spot to add the command.
Use a PropertyChangeListener
Listen for changes to PROPERTY_WIDTH and PROPERTY_HEIGHT using a PropertyChangeListener. However, the listener will not be directly invoked, only after a server interaction takes place (for example, user pressing a button).
You can modify the
You can modify the WindowPane.js file so that it will send a client message on a resize. I did a similiar fix on SplitPane.js so that it would send back on resizing the split. I don't know exactly where in WindowPane you have to add the command, but what you want to do is find the function that deals with resizing and then add in this somewhere towards the end of the function:
EchoServerTransaction.connect();
If I have time later, I can look inside WindowPane.js and find the correct spot to add the command.
~Kurposkano
Echo3
EchoServerTransaction.connect();
The above works on Echo2 but not on Echo3. What would the current version look like?
Thanks!