sdeboy 2003/12/08 00:38:25 Modified: src/java/org/apache/log4j/chainsaw/color ColorPanel.java Log: fixed multi-select introduced in last commit Revision Changes Path 1.6 +2 -0 jakarta-log4j/src/java/org/apache/log4j/chainsaw/color/ColorPanel.java Index: ColorPanel.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/color/ColorPanel.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ColorPanel.java 8 Dec 2003 08:34:33 -0000 1.5 +++ ColorPanel.java 8 Dec 2003 08:38:25 -0000 1.6 @@ -84,6 +84,7 @@ import javax.swing.JTable; import javax.swing.JTextField; import javax.swing.ListCellRenderer; +import javax.swing.ListSelectionModel; import javax.swing.WindowConstants; import javax.swing.border.Border; import javax.swing.event.ListSelectionEvent; @@ -151,6 +152,7 @@ table.setToolTipText("Click to edit"); table.setRowHeight(20); + table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); table.setColumnSelectionAllowed(false); table.setPreferredScrollableViewportSize(new Dimension(400, 200));
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]