Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.38 seconds.

  1. Replies
    6
    Views
    2,404

    Re: GUI Lockup during run

    Ok, so I found this works when I put it in the ButtonListener class:


    progressBar = new ProgressBar(10);
    Runnable runnable = new Thread(){
    public void run(){
    //cleanSource();...
  2. Replies
    6
    Views
    2,404

    Re: GUI Lockup during run

    Ok, so based on what I'm reading, in order to create a Thread, i need to send it a runable object, which would be the object that contains all my methods for what I am trying to do. But, due to this...
  3. Replies
    6
    Views
    2,404

    Re: GUI Lockup during run

    How do I do that?
  4. Replies
    6
    Views
    2,404

    GUI Lockup during run

    I am creating a program that takes several minutes to run and I want to either tell the user about updates via a textbox at the bottom or via a JProgressBar. Unfortunately, the GUI seems to lock up...
Results 1 to 4 of 4