Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13943/src/net/sourceforge/bprocessor/gui/attrview
Modified Files:
AttributeView.java GenericPanel.java
Log Message:
New icons and reorganized toolbar
Index: GenericPanel.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/GenericPanel.java,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** GenericPanel.java 18 Dec 2007 15:06:45 -0000 1.51
--- GenericPanel.java 27 Dec 2007 23:14:30 -0000 1.52
***************
*** 8,11 ****
--- 8,12 ----
import java.awt.BorderLayout;
+ import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ItemEvent;
***************
*** 22,25 ****
--- 23,27 ----
import javax.swing.JLabel;
import javax.swing.JPanel;
+ import javax.swing.border.Border;
import javax.swing.border.EtchedBorder;
import javax.swing.border.TitledBorder;
***************
*** 66,69 ****
--- 68,73 ----
public GenericPanel(Parametric param) {
super(new BorderLayout());
+ Border border = BorderFactory.createLineBorder(Color.black);
+ this.setBorder(border);
this.content = Box.createVerticalBox();
obj = param;
Index: AttributeView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/AttributeView.java,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** AttributeView.java 9 Dec 2007 08:26:44 -0000 1.43
--- AttributeView.java 27 Dec 2007 23:14:30 -0000 1.44
***************
*** 49,53 ****
public AttributeView() {
super(new BorderLayout());
! setMinimumSize(new Dimension(140, 240));
setPreferredSize(new Dimension(275, 448));
Selection.primary().addObserver(this);
--- 49,53 ----
public AttributeView() {
super(new BorderLayout());
! setMinimumSize(new Dimension(20, 240));
setPreferredSize(new Dimension(275, 448));
Selection.primary().addObserver(this);
|