BackGroundImage

BackGroundImage

Hi

I am using NetBeans IDE for developing java application and using MySQL as backend.

My problem is I have JFrame in NetBeansIDE in which i want to set BackGround Image to it. I tried to put it with label. But it doesn't stretch when i watch in PC with different sized monitor.

Please Someone help me to do it properly so that image should also stretch whenever the Jframe stretches.

Thank You.

View Answers









Related Tutorials/Questions & Answers:
BackGroundImage
Spark BorderContainer Properties in Flex4
, backgroundColor, backgroundImage etc. The borderStroke property is IStroke type
Advertisements
swings - Java Beginners
*; import javax.swing.*; public class BackgroundImage{ private BufferedImage... BackgroundImage(){ try { File file=new File("C:\\rose.jpg"); image... main(String[] args) { JFrame frame = new JFrame("BackgroundImage
Java Code - Java Beginners
javax.swing.*; public class BackgroundImage { private BufferedImage image... BackgroundImage(){ try { File file=new File("C:\\node.jpg"); image... createAndShowGUI() { JFrame frame = new JFrame("BackgroundImage
swing - Java Beginners
*; import javax.imageio.*; import javax.swing.*; public class BackgroundImage..., this); } } }; public BackgroundImage(){ try { File file... createAndShowGUI() { JFrame frame = new JFrame("BackgroundImage
Java swing - Java Beginners
javax.imageio.*; import javax.swing.*; public class BackgroundImage{ private..., this); } } }; public BackgroundImage(){ try { File file=new...("BackgroundImage "); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE
uinavigationcontroller background image
" @implementation MyToolbar - (void)drawRect:(CGRect)rect { backgroundImage = [UIImage imageNamed:@"my-awesome-toolbar-image.png"]; [backgroundImage drawInRect
Java logical error - Swing AWT
*; import javax.swing.*; public class BackgroundImage{ private BufferedImage..., this); } } }; public BackgroundImage(){ try { File file=new File("C... main(String[] args) { JFrame frame = new JFrame("BackgroundImage
java - Java Beginners
*; import javax.swing.*; public class BackgroundImage{ private BufferedImage... BackgroundImage(){ try { File file=new File("rose.jpg"); image...(String[] args) { JFrame frame = new JFrame("BackgroundImage
java - Java Beginners
*; public class BackgroundImage{ private BufferedImage image; private...(image, 0, 0, this); } } }; public BackgroundImage(){ File... static void main(String[] args) { JFrame frame = new JFrame("BackgroundImage
java swings
*; import javax.swing.*; public class BackgroundImage{ private BufferedImage...(image, 0, 0, this); } } }; public BackgroundImage(){ try{ File file=new File("C... JFrame("BackgroundImage "); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE
JAVA
javax.imageio.*; import javax.swing.*; public class BackgroundImage{ private BufferedImage...){ g.drawImage(image, 0, 0, this); } } }; public BackgroundImage(){ try{ File file=new File... JFrame("BackgroundImage "); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE
how to convert sql into hql
,'') branchingLogic ") .append("FROM question q left join..., backgroundimage b ") .append("where q.surveyID
Set background image for Spark BorderContainer in flex 4
is backgroundImage property. Example:  <?xml version="...; backgroundImage="@Embed(source='file:/C:/Documents and Settings... </s:Application> we have use backgroundImage property
UITableViewCell selectedBackgroundView
UITableViewCell selectedBackgroundView This example exhibits how to add cell BackgroundImage in UITable based applications. In any iphone UItable based application we have lots of options to customize the look and feel of Table View
Spark Application Container in Flex4
proreties backgroundColor, backgroundImage, backgroundSize, horizontalAlign, padding
PopUpAnchor Control in Flex4
" ADS_TO_REPLACE_17 styleName="loginform&q" backgroundImage
Creating custom application download progress bar
;get backgroundImage():Object{   return imageClass;   

Ads