Search:

Type: Posts; User: Mr.777

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: Is there a way to make things happen if a certain text is entered in a TextField?

    JTextField textbox1 = new JTextField(15);
    Instead of this, just write

    textbox1 = new JTextField(15);
  2. [SOLVED] Re: Is there a way to make things happen if a certain text is entered in a TextField?

    NO. In your previous last given code, you have actually declared textbox1 as instance variable and then in constructor, you re-declare and initialize it as a local variable, so the instance variable...
Results 1 to 2 of 2