What\'s the difference between:
public class Test { public static void main(String[] args) { JButton button= new JButton(\"1\"); button.
You can put more than one JPanel in the JFrame. JPanel is a conainer for you other components and can grouping it by logical features.