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