package day1115;
import javax.swing.*;
import java.awt.Color;
public class Test3 {
public static void main(String[] args)
{
JFrame frame=new JFrame ("test window ");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
JPanel j1= new JPanel();
JPanel j2= new JPanel();
j1.setBackground(Color.red);
j2.setBackground(Color.green);
JSplitPane spli
Swing 中拆分窗格基本使用JSplitPane
最新推荐文章于 2022-05-06 14:41:25 发布