setLayout (new FlowLayout(FlowLayout.LEADING,20,20));; jPanel.setBackground(Color.gray); //设置背景色; jFrame.add(jPanel); //添加面板到容器; jFrame.
確定! 回上一頁