Why I should use a JPanel?

后端 未结 6 1752
你的背包
你的背包 2021-01-13 15:32

What\'s the difference between:

public class Test {

    public static void main(String[] args) {
        JButton button= new JButton(\"1\");
        button.         


        
6条回答
  •  没有蜡笔的小新
    2021-01-13 15:42

    Grouping certain components together so you can manipulate groups of them within loops. Maybe to check if all text boxes within a region meet a certain requirement or to destroy them completely.

提交回复
热议问题