Add action listener to JTextField : ActionListener « Swing Event « Java Tutorial. ... JTextField; public class Test extends JFrame { JTextField text = new ...
確定! 回上一頁