Search:

Type: Posts; User: javapenguin

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: Simple error that I can't figure out how to fix

    Hey, using a JPanel appears to have gotten rid of Null Pointer Exception AND the blinking. Thanks!

    >:D<

    Marking thread as "Solved".
  2. [SOLVED] Re: Simple error that I can't figure out how to fix

    That's exactly what just crossed my mind when I noticed that I had a paintComponent() method called for another program that I wrote.

    However, no idea what's causing the NullPointerException.
    ...
  3. [SOLVED] Re: Simple error that I can't figure out how to fix

    Well, maybe if it's my println to check to see if it's valid. However, I have called an ActionListener in a Timer and had started the Timer before I called the method.

    What's even more bizarre is...
  4. [SOLVED] Re: Simple error that I can't figure out how to fix

    It appears that the variable tadString is null.

    It shouldn't be, as this time, though not at first but before I submitted the problem to here, I started the Timer. Also, the printlines are...
  5. [SOLVED] Simple error that I can't figure out how to fix

    One, how do I get the repaint to stop it from flashing like it is?

    Second, how do I make the NullPointerException:

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: String...
Results 1 to 5 of 5