Java setLocation() mishap
问题 I'm in the beginning stages of creating a program to operate an Employee/Customer system, right now I have just created the Login GUI, but I am having a little bit of a problem with the setLocation(); method. I set it to 250, 250, but it makes the height of my GUI go absolutely nuts. My code is below if anyone would be able to fix this. import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Main extends JFrame { private static final int HEIGHT = 1003; private static