Results 1 to 2 of 2
  1. #1
    JavaChase is offline Member
    Join Date
    Mar 2014
    Rep Power

    Exclamation How do I add a background image to my frame

    I'm using notepad++
    I want add background Image
    Can someone please help

  2. #2
    pj6444 is offline Senior Member
    Join Date
    Jan 2013
    Rep Power

    Default Re: How do I add a background image to my frame

    You can draw in a background image using the paintComponent() method. I would recommend drawing this image on to a JPanel and then adding the JPanel to the JFrame.

Similar Threads

  1. Replies: 2
    Last Post: 12-08-2011, 08:34 PM
  2. [Help] W/ background image
    By gundum584 in forum New To Java
    Replies: 9
    Last Post: 01-10-2011, 06:48 AM
  3. how i can put image in background of frame??
    By ahmed13 in forum NetBeans
    Replies: 4
    Last Post: 01-15-2009, 06:47 PM
  4. Replies: 13
    Last Post: 10-21-2008, 03:32 PM
  5. Image as background
    By Java.child in forum AWT / Swing
    Replies: 2
    Last Post: 10-03-2008, 12:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts