Java的GUI中,根据事件获取label并修改其值。答:= new JButton("取消"); public void init() { myframe.setSize(300, 200); myframe.getContentPane().setLayout(null); myframe.setTitle("java 小程序"); label1.setBounds(20, 20, 120, 27); label2.setBounds(20, 40, 120, 27); button1.setBounds(20, 60, 60, 27)...