Results 1 to 2 of 2
  1. #1
    vimalaranjan is offline Member
    Join Date
    May 2011
    Posts
    8
    Rep Power
    0

    Default Image Loading Problem

    i used

    img = Toolkit.getDefaultToolkit().createImage("image.png ");

    g.drawImage(img, 0, 0, null);

    all images are loading the first time, if i click on any image all other images disappear, and if the curers touch the image it will appears.

    how can i display all images at all time?

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default

    You should provide a lot more context than that...define click. Define cursor touches. Better yet, define the problem as an SSCCE that reproduces the problem.

Similar Threads

  1. Java Applet Strange Image Loading Problem
    By 1yuchen in forum Java Applets
    Replies: 36
    Last Post: 01-06-2012, 03:06 AM
  2. Replies: 12
    Last Post: 04-14-2011, 02:58 PM
  3. Problem loading an Image
    By onesixtyfourth in forum Java 2D
    Replies: 1
    Last Post: 10-17-2010, 12:32 PM
  4. Problem with loading image
    By m00nchile in forum New To Java
    Replies: 5
    Last Post: 05-25-2010, 02:34 PM
  5. Problem in loading Image
    By rahulm87 in forum Java 2D
    Replies: 1
    Last Post: 09-08-2009, 05:45 PM

Posting Permissions

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