Monday, June 24, 2013

Adding an Image as background in Netbeans 2nd Method

This Method is for beginners who are using Netbeans and don't have knowledge
about methods,method overriding etc

This is how you can do it

  • Open your application
  • Add a new frame to it
  • Right Click on Main frame
  • Select Set Layout
  • Now Select Null Layout



Now your Components (If you added) will Collapse and your Frame will turn into a mini frame


  • Re size Frame Add Components (Button,TextField etc)
  • Add a new Label
  • Right click on the label you've just added
  • Select Properties
 
  • Look for icon Menu and Select it
  • Select the Image
 
Now Resize the Frame and re size over the whole Frame


Final Look of Frame


 


Note 

  • You will have to set Minimum size of frame from properties
Otherwise Frame will turn into a Small frame that need to be resided every time

No comments:

Post a Comment