use of org.apache.pivot.wtk.Dialog in project pivot by apache.
the class TerraDialogSkin method mouseDown.
@Override
public boolean mouseDown(Container container, Mouse.Button button, int x, int y) {
Dialog dialog = (Dialog) container;
if (!dialog.isTopMost()) {
Window rootOwner = dialog.getRootOwner();
rootOwner.moveToFront();
}
return super.mouseDown(container, button, x, y);
}
Aggregations