Results 1 to 2 of 2

Thread: [RESOLVED] Add an image to JFrame

  1. #1

    Thread Starter
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Resolved [RESOLVED] Add an image to JFrame

    Hi all,

    I want to add an image to a JFrame as the background. On top of that I want to working on more controls.

    How can I do that, I work on Netbeans for this.

    Eranga.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  2. #2

    Thread Starter
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: Add an image to JFrame

    Wow, I found my self to do this in handy way. Simply add a jPanel to the jFrame and on top of that do all my control handling. On that jPanel I can do anything so easily.

    Major advanced I found in Netbeans is that simply changing the layout of forms, panels, etc... can handle all the properties(controls, forms ...) easily.

    Sorry for disturbing read this thread.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

Posting Permissions

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



Click Here to Expand Forum to Full Width