litesoft
Diff Revisions
133
vs
136
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/forms/client/components/impls/input/FormTimestampPicker.java
|
@@ -94,8 +94,8 @@ |
94 |
94 |
|
mTimeFields = pTimeRes.getIndex() + 1; |
95 |
95 |
|
mTimeFieldsPanel = new TimePickerFieldsPanel( "litesoft-TimestampTimePickerFieldsPanel", mTimeFields, this ); |
96 |
96 |
|
addExtensionPanel( mTimeFieldsPanel ); |
97 |
|
- |
addDialogButtonPanel( Button.named( "Cancel" ).red().text( pCancelText ).create(), // |
98 |
|
- |
mOkButton = Button.named( "OK" ).green().text( pOKText ).create() ); |
|
97 |
+ |
addDialogButtonPanel( CancelButton.factory( pCancelText ).create(), // |
|
98 |
+ |
mOkButton = OKButton.factory( pOKText ).create() ); |
99 |
99 |
|
} |
100 |
100 |
|
|
101 |
101 |
|
public int getTimeFields() |