Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.13 seconds.

  1. Replies
    19
    Views
    2,240

    [SOLVED] Re: JFrame - ImageIcon not displaying

    What happened when you tested it out with a smaller image?
  2. Replies
    19
    Views
    2,240

    [SOLVED] Re: JFrame - ImageIcon not displaying

    Yep, that's pretty much what mine looks like. Try printing this to see if Java is looking in the right place:

    System.out.println(new File("splash_screen.png").getAbsolutePath());

    --- Update ---...
  3. Replies
    19
    Views
    2,240

    [SOLVED] Re: JFrame - ImageIcon not displaying

    Your code works fine for me. What does your directory structure look like?
  4. Replies
    19
    Views
    2,240

    [SOLVED] Re: JFrame - ImageIcon not displaying

    Does the layout you're using respect the bounds you've set? Normally you either use a layout *or* setBounds, not both.
Results 1 to 4 of 4