Search:

Type: Posts; User: bgroenks96

Search: Search took 0.20 seconds.

  1. Replies
    10
    Views
    7,033

    Re: Add Image to JPanel

    Hmm. Would that be in javax.imageio maybe? I will go check.
  2. Replies
    10
    Views
    7,033

    Re: Add Image to JPanel

    Should I return that to a BufferedImage variable?
  3. Replies
    10
    Views
    7,033

    Re: Add Image to JPanel

    Right now the path has to be specified exactly like so:


    //code back here...
    Image iScreen = new ImageIcon("C:\\Java Workspace\\JavaCalcIntroScreen.jpg");


    I just want to tell java to look...
  4. Replies
    10
    Views
    7,033

    Re: Add Image to JPanel

    Yeah I got that to work but do you know of a way to make a general path identification for a file (not system specific) or better yet, a way to include a file (as in picture) in a package?
  5. Replies
    10
    Views
    7,033

    Add Image to JPanel

    What is the best way to simply add an image in the local directory to a JPanel? The JPanel fills the entire JFrame.

    I have been trying multiple methods and none of them have worked. I, for some...
Results 1 to 5 of 5