dlg.setOnTime(onTime);
}
// get the position handling
if (framePositionRadioButton.isSelected()) {
WindowCorner corner = WindowCorner.NorthWest;
switch (frameOrientationComboBox.getSelectedIndex()) {
case 1:
corner = WindowCorner.NorthEast;
break;
case 2:
corner = WindowCorner.SouthWest;
break;
case 3:
corner = WindowCorner.SouthEast;
break;
}
dlg.setLocationRelativeTo(this, RelativeLayoutConstraint.corner(corner, 5, 5));
} else if (desktopPositionRadioButton.isSelected()) {
WindowCorner corner = WindowCorner.NorthWest;
switch (desktopOrientationComboBox.getSelectedIndex()) {
case 1:
corner = WindowCorner.NorthEast;
break;
case 2: