Revision 1831
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.impl/src/main/java/org/gvsig/tools/swing/impl/pickercontroller/DatePickerControllerImpl.java | ||
---|---|---|
53 | 53 |
this.txtDate.setAlignmentX(RIGHT_ALIGNMENT); |
54 | 54 |
this.txtDate.setEditable(false); |
55 | 55 |
|
56 |
this.btnDate.setIcon(this.getIcon("picker-color"));
|
|
56 |
this.btnDate.setIcon(this.getIcon("picker-date"));
|
|
57 | 57 |
this.btnDate.setText(""); |
58 | 58 |
|
59 | 59 |
this.btnDate.addActionListener(new ActionListener() { |
... | ... | |
78 | 78 |
@Override |
79 | 79 |
public void set(Date date) { |
80 | 80 |
this.value.setValue(date); |
81 |
this.txtDate.setText(Objects.toString(date.toString()));
|
|
81 |
this.txtDate.setText(Objects.toString(date, ""));
|
|
82 | 82 |
} |
83 | 83 |
|
84 | 84 |
@Override |
Also available in: Unified diff