public class NewJFrame3 extends javax.swing.JFrame { /** * Creates new form NewJFrame3 */ public NewJFrame3() { initComponents(); } /** * This method is called
You will need to attach a DocumentListener to your textfield. See this tutorial for more information.