Java弹窗测试小程序.txt
package test; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; public class tanchuang { private JFrame frame = new JFrame("Java弹窗测试"); private JPanel p = new JPanel(); private JButton btn1 = new JButton("弹出第一个窗口"); private JButton btn2 = new
用户评论