摘要:
1 import javax.swing.*; 2 import java.awt.event.*; 3 public class TestSourceListener { 4 5 public static void main(String[] args) { 6 JFrame frame = new JFrame("TestSourceListener"); 7 JButton jbt = new JButton("OK"); 8 9 //Create a source object源对象10 f... 阅读全文