Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

GWT Interview Questions and Answers

Ques. How to create custom widgets in GWT?
Ans. Create a class that should extends Composite class of GWT.
Inside the constructor you can write you logic to create a widget and call the initWidget method().
Then you can use this class in anywhere in the application and add this widget in any panels.

private static class OptionalTextBox extends Composite implements
ClickHandler {
private TextBox textBox = new TextBox();
private CheckBox checkBox = new CheckBox();
Is it helpful? Yes No

Most helpful rated by users:

©2021 WithoutBook