i found a link: http://mindprod.com/jgloss/contentpane.html this is what i want to do, but, how can i use a specific RGB code like 23,21,21 or HEX #171515 ?
Printable View
i found a link: http://mindprod.com/jgloss/contentpane.html this is what i want to do, but, how can i use a specific RGB code like 23,21,21 or HEX #171515 ?
Just a guess but, based on the link you provided and the below link, you would probably do something like this
http://download.oracle.com/javase/1....awt/Color.htmlCode:Color customColor = new Color(255,255,255);
contentPane.setBackground(customColor);
it works perfectly, thanks.