Search:

Type: Posts; User: Lanst83

Search: Search took 0.39 seconds.

  1. [SOLVED] Re: Trouble clearing JTextField, getting NullPointerException

    It works!!! thanks everyone. How do i set this thread as solved?
  2. [SOLVED] Re: Trouble clearing JTextField, getting NullPointerException

    thanks . i'll give it a try
  3. [SOLVED] Re: Trouble clearing JTextField, getting NullPointerException

    This is where I am at now. Trying to create a method that I can call that will clear the Field, but I feel like I've got some thing backwards. Thedata class is not used right now cause i thought that...
  4. [SOLVED] Re: Trouble clearing JTextField, getting NullPointerException

    That makes perfect sense but I can't figure out how. Have tried creating different methods in which none work.
    I'm sure there are some basic fundamentals I'm missing so please be patient with me....
  5. [SOLVED] Re: Trouble clearing JTextField, getting NullPointerException

    Thank you. Now the TextField clears but it is clearing in a new window. What have I done wrong?



    public void changeText() {

    TheLayout gui = new TheLayout();
    gui.setVisible(false); // I...
  6. [SOLVED] Trouble clearing JTextField, getting NullPointerException

    I'm new to Java programming. I'm using JDK 1.7.
    I can not get this field to clear, tired many different methods i've seen online.
    Not sure what i'm doing wrong. Can someone please help?
    Here is my...
Results 1 to 6 of 6