Laying Out Components Using Absolute Coordinates JPanel panel = new JPanel(null); component.setBounds(x, y, w, h); panel.add(component);