Hi.
I'm beginner in GWT, and I need to change the contents of a widget when a button is pressed.
Example:
Widget wContents = new CanvasMain1();
button click -> wContents = new CanvasMain2();
but the widget not changed in the screen...
Please, What is the correct way?
I'm beginner in GWT, and I need to change the contents of a widget when a button is pressed.
Example:
Widget wContents = new CanvasMain1();
button click -> wContents = new CanvasMain2();
but the widget not changed in the screen...
Please, What is the correct way?
Comment