litesoft
Diff Revisions
610
vs
611
for /trunk/GWT_Sandbox/UIdesign/src/com/test/uidesign/client/PersonalInfoForm.java
|
@@ -35,14 +35,14 @@ |
35 |
35 |
|
add( zHPanel = new HorizontalPanel() ); |
36 |
36 |
|
|
37 |
37 |
|
// TODO: Suspected Incubator Errors on FormTimestampPicker!!! |
38 |
|
- |
// FormTimestampPicker zTimestampPicker = new FormTimestampPicker( "Timestamp", null, "My New Tooltip", TimeRes.ToMIN, "Cancel", "OK" ); |
39 |
|
- |
// zTimestampPicker.addFormComponentListener( new MyListener( new SimpleTimestamp( 1960, 1, 2, 3, 4 ) ) ); |
40 |
|
- |
// zHPanel.add( zTimestampPicker ); |
|
38 |
+ |
FormTimestampPicker zTimestampPicker = new FormTimestampPicker( "Timestamp", null, "My New Tooltip", TimeRes.ToMIN, "Cancel", "OK" ); |
|
39 |
+ |
zTimestampPicker.addFormComponentListener( new MyListener( new SimpleTimestamp( 1960, 1, 2, 3, 4 ) ) ); |
|
40 |
+ |
zHPanel.add( zTimestampPicker ); |
41 |
41 |
|
|
42 |
42 |
|
// TODO: Suspected Incubator Errors on FormDatePicker!!! |
43 |
|
- |
// FormDatePicker zCalendar = new FormDatePicker( "Calendar", null, "Pick-a-Date", "Cancel", "Today", new DateFormatControl( DateFormatControl.DEFAULT_DATE_FORMAT ) ); |
44 |
|
- |
// zCalendar.addFormComponentListener( new MyListener( new SimpleDate( 1957, 1, 4 ) ) ); |
45 |
|
- |
// zHPanel.add( zCalendar ); |
|
43 |
+ |
FormDatePicker zCalendar = new FormDatePicker( "Calendar", null, "Pick-a-Date", "Cancel", "Today", new DateFormatControl( DateFormatControl.DEFAULT_DATE_FORMAT ) ); |
|
44 |
+ |
zCalendar.addFormComponentListener( new MyListener( new SimpleDate( 1957, 1, 4 ) ) ); |
|
45 |
+ |
zHPanel.add( zCalendar ); |
46 |
46 |
|
|
47 |
47 |
|
FormTimePicker zTime = new FormTimePicker( "Time", null, "Pick-a-Time", TimeRes.ToMIN, "Cancel", "OK" ); |
48 |
48 |
|
zTime.addFormComponentListener( new MyListener( new SimpleTime( 1, 2 ) ) ); |