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: About deleting image on a certain time without the pausing

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default About deleting image on a certain time without the pausing

    how to delete a picture on the screen on a certain time with out pausing the program..
    cause I used the try and catch with tread.sleep inside and while but it keeps pausing.
    Is there a way to delete a picture on the screen without pausing on a certain time??


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,833
    Thanks
    55
    Thanked 2,345 Times in 2,316 Posts

    Default Re: About deleting image on a certain time without the pausing

    You could use the Timer class to call a method that deletes the image at a certain time.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Deleting an image
    By dudedduu in forum What's Wrong With My Code?
    Replies: 5
    Last Post: September 22nd, 2012, 04:36 PM
  2. deleting with shift ?
    By keep smiling in forum Collections and Generics
    Replies: 4
    Last Post: February 26th, 2012, 04:05 PM
  3. Pausing a loop until a button is pressed
    By amcqueen in forum AWT / Java Swing
    Replies: 1
    Last Post: October 5th, 2011, 02:57 AM
  4. Problem in rotating and moving image at the same time
    By SlimShady in forum What's Wrong With My Code?
    Replies: 10
    Last Post: June 17th, 2010, 03:33 PM
  5. Changing colors of large image in real time
    By chals in forum Java ME (Mobile Edition)
    Replies: 1
    Last Post: May 7th, 2009, 06:06 AM