package Guanliyuan; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Box; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextArea; /* * 详细详细的管理员编辑页面 */ public class Xinxitijiao extends JFrame implements ActionListener{ JTextArea area; Box box1,baseBox,box2,baseBox2; JButton buttonOfTijiao,buttonOfFanHui; public Xinxitijiao() { init(); setVisible(true); // setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setBounds(500, 200, 620, 360); setTitle("详细信息编辑界面"); } void init() { JLabel label = new JLabel("车辆的详细信息:"); area = new JTextArea(10, 10); buttonOfTijiao = new JButton("提交"); buttonOfFanHui = new JButton("返回"); box1 = Box.createVerticalBox(); box1.add(box1.createVerticalStrut(8)); box1.add(label); box1.add(area); box2 = Box.createHorizontalBox(); box2.add(box2.createHorizontalStrut(8)); box2.add(buttonOfTijiao); box2.add(box2.createHorizontalStrut(8)); box2.add(buttonOfFanHui); baseBox = Box.createHorizontalBox(); baseBox.add(baseBox.createHorizontalStrut(10)); baseBox.add(box1); baseBox.add(baseBox.createHorizontalStrut(10)); baseBox2 = Box.createVerticalBox(); baseBox2.add(baseBox); baseBox2.add(baseBox2.createVerticalStrut(10)); baseBox2.add(box2); baseBox2.add(baseBox2.createVerticalStrut(10)); add(baseBox2); } @Override public void actionPerformed(ActionEvent e) { // TODO Auto-generated method stub } }
最近下载更多
jiayongchao258 LV9
2023年12月28日
求学的熊猫 LV6
2023年12月25日
李朝磊 LV18
2023年12月3日
王东东 LV17
2023年11月30日
sunshine9920 LV12
2023年10月22日
454897461 LV1
2023年6月26日
KAIzx11 LV7
2023年6月24日
fengsk LV1
2023年6月20日
严凌琳 LV1
2023年6月18日
羊洋杨 LV1
2023年6月15日
最近浏览更多
Miaaaaaa_
3月17日
暂无贡献等级
jiayongchao258 LV9
2023年12月28日
求学的熊猫 LV6
2023年12月25日
李朝磊 LV18
2023年12月3日
xp95323 LV14
2023年11月27日
hj1172788262 LV5
2023年10月25日
sunshine9920 LV12
2023年10月22日
wersdfs LV1
2023年9月13日
454897461 LV1
2023年6月26日
KAIzx11 LV7
2023年6月24日