|
From: <tr...@us...> - 2003-09-13 22:40:43
|
Update of /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/config
In directory sc8-pr-cvs1:/tmp/cvs-serv1360/com/babeldoc/gui/config
Modified Files:
BooleanConfigOptionComponent.java
ValueListConfigOptionComponent.java
Log Message:
removed debug messages
Index: BooleanConfigOptionComponent.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/config/BooleanConfigOptionComponent.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** BooleanConfigOptionComponent.java 13 Sep 2003 15:33:10 -0000 1.7
--- BooleanConfigOptionComponent.java 13 Sep 2003 22:40:40 -0000 1.8
***************
*** 131,135 ****
boolean selected = ((JCheckBox) getComponent()).isSelected();
try {
! System.out.println("Action performed:- option: "+getOption().getName()+" selection="+Boolean.toString(selected));
getOption().setValue(Boolean.toString(selected));
} catch (MutableConfigValueException e1) {
--- 131,135 ----
boolean selected = ((JCheckBox) getComponent()).isSelected();
try {
! // System.out.println("Action performed:- option: "+getOption().getName()+" selection="+Boolean.toString(selected));
getOption().setValue(Boolean.toString(selected));
} catch (MutableConfigValueException e1) {
***************
*** 158,162 ****
*/
public void displayConfigValue() {
! System.out.println("Displaying boolean value: "+getOption().getValue());
box.setSelected(BooleanConfigOptionType.TRUE.equals(getOption().getValue()));
}
--- 158,162 ----
*/
public void displayConfigValue() {
! // System.out.println("Displaying boolean value: "+getOption().getValue());
box.setSelected(BooleanConfigOptionType.TRUE.equals(getOption().getValue()));
}
Index: ValueListConfigOptionComponent.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/config/ValueListConfigOptionComponent.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ValueListConfigOptionComponent.java 13 Sep 2003 15:33:10 -0000 1.7
--- ValueListConfigOptionComponent.java 13 Sep 2003 22:40:40 -0000 1.8
***************
*** 119,123 ****
public JComponent getGuiComponent() {
if (combo == null) {
- System.out.println("111");
ValueListConfigOptionType vlconfigtype = (ValueListConfigOptionType) getOption().getType();
combo = new JComboBox(vlconfigtype.getValidTypes());
--- 119,122 ----
***************
*** 126,130 ****
combo.setSelectedItem(getOption().getDefaultValue());
}
- System.out.println("222");
combo.addFocusListener(new ConfigOptionFocusListener(combo, getOption()) {
--- 125,128 ----
***************
*** 141,145 ****
});
- System.out.println("333");
combo.setToolTipText(getOption().getDescription());
combo.setMaximumSize(new Dimension(1000, 25));
--- 139,142 ----
***************
*** 162,167 ****
*/
public void displayConfigValue() {
- System.out.println("bbb"+combo==null);
- System.out.println("aaa"+getOption()==null);
combo.setSelectedItem(getOption().getValue());
}
--- 159,162 ----
|