Results 1 to 5 of 5

Thread: image in JPanel

  1. #1
    poojarkg is offline Member
    Join Date
    Apr 2010
    Posts
    2
    Rep Power
    0

    Post image in JPanel

    hello sir here i am to ask about how can i import an image in JPanel....

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    You've marked your question as "Solved", so I can only assume that you have found your solution and don't need our help. Regardless, welcome to the forum!

  3. #3
    poojarkg is offline Member
    Join Date
    Apr 2010
    Posts
    2
    Rep Power
    0

    Default hello sir...

    Quote Originally Posted by Fubarable View Post
    You've marked your question as "Solved", so I can only assume that you have found your solution and don't need our help. Regardless, welcome to the forum!
    sir still i did'nt get answer of that ques please send me a simple coding of JPanel with image in background and a JButton........
    thanx in advance sir......

  4. #4
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,227
    Rep Power
    6

    Default

    This question has to be one of the most asked questions in forum history. Search the forum or the web for a solution and you will get your answer faster.

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    Quote Originally Posted by poojarkg View Post
    sir still i did'nt get answer of that ques please send me a simple coding of JPanel with image in background and a JButton........
    thanx in advance sir......
    We're not a "send me the code" service. My suggestion is to check out the Sun Swing tutorials on adding images to JLabel and displaying the JLabel as one way to display an image. The other is to paint it in the JPanel's paintComponent method. JavaRanch has a small lesson on this: Background Image On JPanel

Similar Threads

  1. image in jPanel
    By idi in forum AWT / Swing
    Replies: 1
    Last Post: 03-13-2010, 09:30 PM
  2. How to put an image on a JPanel
    By syferite in forum AWT / Swing
    Replies: 1
    Last Post: 01-20-2010, 05:39 PM
  3. How can I add image to a JPanel using netbeans
    By shahid0627 in forum AWT / Swing
    Replies: 5
    Last Post: 09-01-2009, 07:56 AM
  4. Add Image to JPanel
    By Seonix in forum AWT / Swing
    Replies: 1
    Last Post: 08-12-2009, 01:54 PM
  5. how to set image to a jpanel
    By masa in forum AWT / Swing
    Replies: 1
    Last Post: 03-02-2009, 08:36 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
  •