Search:

Type: Posts; User: copeg

Search: Search took 0.08 seconds.

  1. Replies
    13
    Views
    2,993

    Re: problem with drawing images on JPanel

    JFrame's do have an associated content pane whether it is set or not, so calling getContentPane() will not return a null pointer unless you called setContentPane(null)


    Along the lines of the...
  2. Replies
    13
    Views
    2,993

    Re: problem with drawing images on JPanel

    I'd first recommend checking whether the images and ImageIcons you load are null (if's and println's work wonders for debugging). If so, then you've got a problem loading your images (make sure they...
Results 1 to 2 of 2