Search:

Type: Posts; User: nivangerow

Search: Search took 0.19 seconds.

  1. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    That did it for me, they are being drawn!
  2. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    I have just experimented with backgrounds (Color.BLACK), etc..
    And I have set a red background to the JPanel and a green background to the frame itself. And I see green and i should actually see...
  3. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    Shouldnt it work with eclipse though?
  4. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    I have tried this: (its slightly edited)

    package net.nivangerow.umadbro;
    import java.awt.*;
    import java.awt.event.*;

    import javax.swing.*;

    public class Panel extends JPanel implements...
  5. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    K, ive just refreshed it. Still no success.
  6. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    Help! I answered all your questions, can you help me now?
  7. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    Are you still there?
  8. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    Here is the full filepath and it still doesnt display:
    /Users/nivangerow/Documents/workspace/U MAD BRO/src/net/nivangerow/umadbro/background.png

    Also there is an error if i use any escape...
  9. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    I just tried it, still doesnt display...
  10. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    Sorry, im a newb on these forums. Cant I access the file if it is in the same directory as my java files (i use eclipse, i put the images in my workspace)? Like in HTML and CSS...
  11. Replies
    18
    Views
    2,613

    Re: Help with ImageIcon

    Help please, im frustrated and I want it to work! Whats wrong with it?
  12. Replies
    18
    Views
    2,613

    [SOLVED] Help with ImageIcon

    My background for my game isn't displaying at all. I use a mac, do I have to do something different? Heres my Panel class:


    package net.nivangerow.umadbro;
    import java.awt.*;
    import...
Results 1 to 12 of 12