Revision 306 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.serv/org.gvsig.tools.swing.serv.field/src/main/java/org/gvsig/tools/swing/serv/field/component/JNumberDynFieldComponent.java
JNumberDynFieldComponent.java | ||
---|---|---|
49 | 49 |
private static final long serialVersionUID = -8120715001446683582L; |
50 | 50 |
|
51 | 51 |
private static Object NULL_VALUE = null; |
52 |
private static final String BTN_EMPTY_IMG_PATH = "../editdelete.png";
|
|
52 |
private static final String BTN_EMPTY_IMG_PATH = "editdelete.png";
|
|
53 | 53 |
|
54 | 54 |
private JNullValueMuttableTextField pane; |
55 | 55 |
|
... | ... | |
58 | 58 |
* @throws ServiceException |
59 | 59 |
* @see JDynFieldComponent#JDynFieldComponent(DynField, DynObject). |
60 | 60 |
*/ |
61 |
public JNumberDynFieldComponent(ValueField parent) throws ServiceException { |
|
62 |
super(parent); |
|
61 |
public JNumberDynFieldComponent(ValueField parent) |
|
62 |
throws ServiceException { |
|
63 |
super(parent); |
|
63 | 64 |
} |
64 | 65 |
|
65 | 66 |
/* |
... | ... | |
82 | 83 |
} |
83 | 84 |
|
84 | 85 |
protected ImageIcon getBtnEmptyImageIcon() { |
85 |
String path = this.getClass().getResource(BTN_EMPTY_IMG_PATH).getPath(); |
|
86 |
return new ImageIcon(path); |
|
86 |
return new ImageIcon(this.getClass().getResource(BTN_EMPTY_IMG_PATH)); |
|
87 | 87 |
} |
88 | 88 |
|
89 | 89 |
private JNullValueMuttableTextField getModel() { |
Also available in: Unified diff