Revision 2755 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/task/DefaultJTaskStatusController.java
DefaultJTaskStatusController.java | ||
---|---|---|
122 | 122 |
|
123 | 123 |
this.cancelRequestButton.setIcon(getIcon("cancelRequestButton.png")); |
124 | 124 |
this.cancelRequestButton.setDisabledIcon(getIcon("disabledCancelRequestButton.png")); |
125 |
if( this.cancelRequestButton.getText().equals("...") ) { |
|
126 |
this.cancelRequestButton.setText(""); |
|
127 |
} |
|
125 | 128 |
if (!this.showCancelButton) { |
126 | 129 |
this.cancelRequestButton.setVisible(this.showCancelButton); |
127 | 130 |
} |
... | ... | |
131 | 134 |
}); |
132 | 135 |
this.removeTaskButton.setIcon(getIcon("removeTaskButton.png")); |
133 | 136 |
this.removeTaskButton.setDisabledIcon(getIcon("disabledRemoveTaskButton.png")); |
137 |
if( this.removeTaskButton.getText().equals("...") ) { |
|
138 |
this.removeTaskButton.setText(""); |
|
139 |
} |
|
134 | 140 |
this.removeTaskButton.setEnabled(true); |
135 | 141 |
this.removeTaskButton.addActionListener((ActionEvent arg0) -> { |
136 | 142 |
if( bindedTaskStatus==null ) { |
Also available in: Unified diff