Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    10
    Views
    7,036

    Re: Add Image to JPanel

    You need to find a constructor or method that takes an input stream that is reading an image and returns an image object of some kind.
  2. Replies
    10
    Views
    7,036

    Re: Add Image to JPanel

    Not sure what you mean by package? Are you referring to a jar file?
    Your first post stated: image in the local directory
  3. Replies
    10
    Views
    7,036

    Re: Add Image to JPanel

    Override the JPanel's paintComponent method and draw the image there.
Results 1 to 3 of 3