Search:

Type: Posts; User: curmudgeon

Search: Search took 0.12 seconds.

  1. Replies
    6
    Views
    1,517

    Re: Unusual Null Pointer Exception

    For example...


    import java.awt.BorderLayout;
    import java.awt.Dialog.ModalityType;
    import java.awt.Dimension;
    import java.awt.Frame;
    import java.awt.Window;
    import...
  2. Replies
    6
    Views
    1,517

    Re: Unusual Null Pointer Exception

    Yes, use a SwingWorker and update the JProgressBar from the event thread only. For instance if you use a SwingWorker, you can add a PropertyChangeListener to it, and listen for the...
  3. Replies
    6
    Views
    1,517

    Re: Unusual Null Pointer Exception

    I'd be very wary when stating this, as my experience has been that whenever I believe this to be true, I'm usually embarrassingly proven wrong with the bug always being due to my misunderstanding of...
Results 1 to 3 of 3