Have a class that extends JDialog. It's initialized entirely on EDT (just in case). Now,
public PropsDialog (JFrame parentFrame) {
super(parentFrame);
// boring
pack();
setLocationRelativeTo(getParent());
setVisible(true);
results in dialog appearing in the leftmost corner and then jumping to it's intended position. Am I doing smth wrong?