Results 1 to 1 of 1
Thread: a few problems
- 07-11-2007, 04:57 PM #1Member
- Join Date
- Jun 2007
- Rep Power
a few problems
Here are a few problems that I cannot figure out.
1. is there an easy way to have an image as a background in a JFrame (possibly stretched to fit).
2. I have a JOptionPane.showMessageDialog that pops up with information and about 40% of the time (randomly) will pop up with just an empty frame and no information or ok button.
3. I cannot change the background colour of my JFrame using JFrame.setBackground(Color.red);. The background appears red but as soon as the buttons and textfields are loaded the background changes to light grey.
Any help would be much appreciated.
- By raj4u in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 02-07-2008, 11:06 AM
- By saytri in forum New To JavaReplies: 1Last Post: 12-16-2007, 11:27 PM
- By bluebirdjc in forum Advanced JavaReplies: 2Last Post: 07-23-2007, 05:38 PM
- By Ed in forum New To JavaReplies: 2Last Post: 07-04-2007, 05:34 AM
- By Freddie in forum NetBeansReplies: 2Last Post: 05-29-2007, 03:50 PM