Share on Google+Share on Google+

Vaishnavi Vishwanath
BackGroundImage
0 Answer(s)      6 years and a month ago
Posted in : Java Beginners

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.

Ads

View Answers









Related Tutorials/Questions & Answers:
Spark BorderContainer Properties in Flex4
, backgroundColor, backgroundImage etc. The borderStroke property is IStroke type
Advertisements
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
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
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
uinavigationcontroller background image
" @implementation MyToolbar - (void)drawRect:(CGRect)rect { backgroundImage = [UIImage imageNamed:@"my-awesome-toolbar-image.png"]; [backgroundImage drawInRect
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
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 - 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 - 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 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
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="...="1" y="0" backgroundImage="@Embed(source='file...; </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
="loginform&q" backgroundImage="@Embed (source='file:/C
Creating custom application download progress bar
; override public function get backgroundImage():Object
Tutorials   
Java Spring Hibernate Struts Training Retrieve database from the table dynamically in jsp from oracle using servlet What does core Java include? java What are some way to learn Java quickly? Is it required to learn Java before learning Java Script? Is it necessary to learn java script before learning PHP? Are HTML5 and Java Script boosts Java career? Is Java object oriented? Fingerprint application with Java Uninstall Oracle Virtual Box JSON to HashMap Free Java online Training I want example of Control Statement in Java ANSI Color Codes with Python Create a Program that Calculates Input What is difference between JDK,JRE and JVM? How to see ubuntu version on server? How to get Page Source in Selenium (WebDriver) using Java? The path to the driver executable must be set by the webdriver.gecko.driver system property parse data from a link in java Java Program Qns using BlueJ How to fix HAX Kernel Module Is Not Installed error? Installing Audacity Looking for code Logic to check track changes & Coments in MSWord, MSWordx, MSExcel, MSExcelx is ON/OFF Installing JDK on Mac SAX Parser exception ERROR 601 (42P00): Syntax error. Encountered Thread java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory How to install Ubuntu 16.04 LTS? HttpServletRequest cannot be resolved to a type in eclipse - Solved Unhandled event loop exception GC overhead limit exceeded Spring Data jpa with apache phoenix Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF o.a.h.h.z.RecoverableZooKeeper - Possibly transient ZooKeeper, quorum= com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager class not found com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager not found How to download and install Java 8 on Windows? How to uninstall JDK 7? How to install gtk-doc-tools package in Ubuntu? How to install Oracle JDK 8 on Ubuntu? ejabberd_ctl.beam not found - Solved How to convert date to UTC format in Java? How to install autoconf, automake and libtool in Ubuntu 15.10? How to convert current date to mm dd yyyy format in Java? How to convert current date to dd mm yyyy format in Java? How to stop window closing in "internalFrameClosing" event. How to find list of all index in Neo4j? neo4j-server.properties file location SASLError using PLAIN: not-authorized

Ads

 
Advertisement null

Ads