Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: java multi threading

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb java multi threading

    Dear all

    I have some idea of java multi threading and java schedular and developed a schedular to copy file from one directory to another after 5 minutes.
    but i want to know real life example in java multi threading and java schedular.


  2. #2
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Re: java multi threading

    The best example of multithreading would be any program which uses a GUI (graphical user interface, like a window with buttons and stuff). Every GUI program should use multithreading. If a GUI program doesn't use multithreading, a lengthy operation (such as reading from a database or saving to files) will "lock up" the GUI. This means the user interface becomes unresponsive until the operation is finished, and will often result in that "The program is not responding" error message you get in Windows.
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

Similar Threads

  1. adding 2 random numbers using multi threading
    By namso1902 in forum Threads
    Replies: 1
    Last Post: August 13th, 2013, 01:46 PM
  2. Replies: 12
    Last Post: May 1st, 2013, 02:55 PM
  3. Replies: 7
    Last Post: April 27th, 2013, 07:15 AM
  4. InterruptedException in multi threading
    By me_shankara in forum Threads
    Replies: 1
    Last Post: April 18th, 2013, 12:54 PM
  5. Replies: 1
    Last Post: March 23rd, 2010, 02:29 AM

Tags for this Thread