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 4 of 4

Thread: How to move an image (or how to delete one)

  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation How to move an image (or how to delete one)

    Hey there i hv an exam project after a few days and i hv some problems,,,,
    How can i move an image to a location selected by mouse?
    I thought about creating the same image in the selected destination and deleting the other one,,,,But i cant find a way to delete an image .....Plz help me..

    NOTE: I can use ONLY awt and swing ,,,otherwise it would be easy


  2. #2
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Location
    Wales, Bangor & England, Warwickshire
    Posts
    820
    My Mood
    Cynical
    Thanks
    7
    Thanked 104 Times in 90 Posts

    Default Re: How to move an image (or how to delete one)

    give us what you have, then we can have a look from there
    chris[at]javaprogrammingforums[dot]com

    Prifysgol Bangor University, North Wales

  3. #3
    Junior Member
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to move an image (or how to delete one)

    U can delete an image by typing this:
    (instance name) = null;

  4. #4
    Junior Member
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to move an image (or how to delete one)

    Quote Originally Posted by Artemis Fowl View Post
    U can delete an image by typing this:
    (instance name) = null;
    Hey there i hv an exam project after a few days and i hv some problems,,,,
    How can i move an image to a location selected by mouse?
    I thought about creating the same image in the selected destination and deleting the other one,,,,But i cant find a way to delete an image .....Plz help me.

Similar Threads

  1. Replies: 2
    Last Post: June 29th, 2009, 04:06 PM
  2. GUI problem with image in java
    By Kok in forum AWT / Java Swing
    Replies: 6
    Last Post: May 17th, 2009, 05:17 AM
  3. Replies: 1
    Last Post: April 20th, 2009, 12:17 PM
  4. How images stores in awt.Image class?
    By BharatT in forum AWT / Java Swing
    Replies: 0
    Last Post: February 24th, 2009, 05:10 AM
  5. How to import an .tiff image in JSP?
    By jazz2k8 in forum JavaServer Pages: JSP & JSTL
    Replies: 4
    Last Post: May 12th, 2008, 06:55 AM

Tags for this Thread