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