吃鸡游戏
1234567891011121314151617181920212223242526272829public ui() { // TODO Auto-generated constructor stub rs = new rs232() { @Override public void back(String s1) { // TODO Auto-generated method stub ReceiveArea.setText(s1); } }; Events(); setLayout(gbl); setParamePanel(); add(ParamePanel, constraints); setLabel(); add(new JLabel("接收缓冲区"), constraints); constraints.gridx = 1;// 列 constraints.gridy = 4;// 行 add(new JLabel("发送缓冲区"), constraints); setReceiveArea(); add(jsp1, constraints); setSendArea(); add(jsp2, constraints); setLF(); setDefaultCloseOperation(EXIT_ON_CLOSE); setTitle("我是标题"); setVisible(true); setSize(575, 410); setResizable(false); }