sz.height++;
sz.height++;
sz.width++;
sz.width++;
}
<BUG>sz.width = 600;
sz.height = 800;
myPopup.setSize(sz);</BUG>
final Point screen = field.getLocationOnScreen();
final int x = screen.x + field.getWidth() - myPopup.getSize().width;

sz.height++;
sz.height++;
sz.width++;
sz.width++;
}
sz.width = Math.max(600, sz.width);
sz.height = Math.max(800, sz.height);
myPopup.setSize(sz);
final Point screen = field.getLocationOnScreen();
final int x = screen.x + field.getWidth() - myPopup.getSize().width;
