CENTERED FRAMES

frame.setLocationRelativeTo(null);