Background image for JPanel using UI Properties
843806Jan 31 2008 — edited Feb 1 2008Is there any way to add background image for JPanel using UI Properties,
code is
if (property.equals("img")) {
System.out.println("call image file in css"+comp);
//set the background color for Jpanel
comp.setBackground(Color.decode("#db7093"));
}
here the comp is JPanel and we are setting the background color,
Is there any way to put the Background image for the JPanel ????