[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui/attrview AttributeView.java,1.16,1.17
Status: Pre-Alpha
Brought to you by:
henryml
From: Nikolaj B. <nbr...@us...> - 2006-01-10 14:02:31
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17554/src/net/sourceforge/bprocessor/gui/attrview Modified Files: AttributeView.java Log Message: Updated color selection layout Index: AttributeView.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/AttributeView.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** AttributeView.java 10 Jan 2006 13:39:49 -0000 1.16 --- AttributeView.java 10 Jan 2006 14:02:21 -0000 1.17 *************** *** 28,32 **** import javax.swing.JComboBox; import javax.swing.border.Border; - import javax.swing.border.TitledBorder; import org.apache.log4j.Logger; --- 28,31 ---- *************** *** 191,199 **** add(hfiller); ! /*JLabel fcolor = new JLabel("Front: "); con.weightx = 0; con.gridwidth = 1; layout.setConstraints(fcolor, con); ! add(fcolor); */ --- 190,198 ---- add(hfiller); ! JLabel fcolor = new JLabel("Front: "); con.weightx = 0; con.gridwidth = 1; layout.setConstraints(fcolor, con); ! add(fcolor); *************** *** 201,207 **** JPanel front = new JPanel(); front.setOpaque(true); ! TitledBorder frontBorder; ! frontBorder = BorderFactory.createTitledBorder("Front"); ! front.setBorder(frontBorder); front.setBackground(Color.white); con.weightx = 1.0; --- 200,205 ---- JPanel front = new JPanel(); front.setOpaque(true); ! Border blackline = BorderFactory.createLineBorder(Color.black); ! front.setBorder(blackline); front.setBackground(Color.white); con.weightx = 1.0; *************** *** 214,220 **** JPanel front = new JPanel(); front.setOpaque(true); ! TitledBorder frontBorder; ! frontBorder = BorderFactory.createTitledBorder("Front"); ! front.setBorder(frontBorder); Color frontColor = o.getFrontMaterial().getColor(); front.setBackground(frontColor); --- 212,217 ---- JPanel front = new JPanel(); front.setOpaque(true); ! Border blackline = BorderFactory.createLineBorder(Color.black); ! front.setBorder(blackline); Color frontColor = o.getFrontMaterial().getColor(); front.setBackground(frontColor); |