Moved location of JFrame and JDialog.