Results 1 to 4 of 4
  1. #1
    dinosoep is offline Senior Member
    Join Date
    Nov 2009
    Posts
    150
    Rep Power
    5

    Default need some help with threading

    what I got is a base class.
    another class named picture has a function named download();
    what I want is a progress bar showing the progress while the base class executes that function for every picture object in my arraylist.
    BUT the gui has to contain a stop button.
    the base class contains all the gui code

    thanks in advance

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

  3. #3
    dinosoep is offline Senior Member
    Join Date
    Nov 2009
    Posts
    150
    Rep Power
    5

    Default

    oops, gonna have to read something :p
    thanks for the links and your fast reply

  4. #4
    dinosoep is offline Senior Member
    Join Date
    Nov 2009
    Posts
    150
    Rep Power
    5

    Default

    I found this subject very hard. will everything of my gui work when I make my class runable and in the run method creating my gui?
    the rest of the class contains the listeners and some other functions.

Similar Threads

  1. Threading
    By jon80 in forum New To Java
    Replies: 1
    Last Post: 06-13-2009, 11:53 PM
  2. Threading in EJB
    By java08 in forum Advanced Java
    Replies: 2
    Last Post: 08-12-2008, 12:09 PM
  3. Threading a method
    By Sephirangel in forum Threads and Synchronization
    Replies: 3
    Last Post: 05-05-2008, 08:38 AM
  4. Java threading
    By Eranga in forum Advanced Java
    Replies: 2
    Last Post: 03-13-2008, 06:30 AM
  5. Threading prob..
    By banie in forum Java Applets
    Replies: 0
    Last Post: 02-05-2008, 07:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •