Results 1 to 2 of 2
  1. #1
    jperson is offline Member
    Join Date
    Jan 2010
    Posts
    61
    Rep Power
    0

    Default JXImagePanel problem

    i have a problem in my JXImagePanel, i set an image for the panel but when running the image sometimes appear and sometimes not.

    Java Code:
    jXImagePanel1.setImage(Toolkit.getDefaultToolkit().getImage("data/default.png"));
            jXImagePanel1.repaint();
    thank you ..

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

    Default Re: JXImagePanel problem

    You need to ask wherever you got that JXPanel class. It's not part of the standard API.

    db

Posting Permissions

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