This is pretty basic, but I am just learning and can't figure out where to look for the answer.
I have a docking panel with various widgets on it. One of those widgets is a composite panel made of a stacking panel with check boxes; another widget is a composite placed on the center panel of the docking panel.
I can not figure out how to have something happen on the composite panel on the center panel of the docking panel when a check box is checked on the stacking panel.
Here is the code I am trying to use:
- Code: Select all
checkBox.addClickListener(new ClickListener() {
public void onClick(final Widget sender) {
final Frame frame = new Frame("query.txt");
absolutePanel.add(frame, 20, 65);
frame.setSize("800", "500");
}
});