Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1067/src/net/sourceforge/bprocessor/gui/attrview
Modified Files:
AttributeView.java
Log Message:
Color example
Index: AttributeView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/AttributeView.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** AttributeView.java 6 Jan 2006 11:14:50 -0000 1.13
--- AttributeView.java 6 Jan 2006 11:21:41 -0000 1.14
***************
*** 14,17 ****
--- 14,18 ----
import net.sourceforge.bprocessor.model.Surface;
+ import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridLayout;
***************
*** 150,153 ****
--- 151,157 ----
JPanel filler = new JPanel();
+ filler.setOpaque(true);
+ Color background = new Color(0.1f, 0.2f, 0.5f);
+ filler.setBackground(background);
con.weighty = 1.0;
con.fill = GridBagConstraints.BOTH;
|