Пример #1
0
 public void showContentDialog() {
   if (!locationSetContentDialog) {
     locationSetContentDialog = true;
     LocationUtil.positionTopAlignedToTheRightTo(frame, contentDialog);
   }
   contentDialog.setVisible(true);
 }
Пример #2
0
 public void showObjectDialog() {
   if (!locationSetObjectDialog) {
     locationSetObjectDialog = true;
     LocationUtil.positionTopAlignedToTheRightTo(frame, objectDialog);
   }
   objectDialog.setVisible(true);
 }