this.timezoneCombo.setTpl( COMBO_TEMPLATE );
commonFieldset.add( this.timezoneCombo, new AnchorLayoutData( "90%" ) );
commonFieldset.add( new TextField( TextProvider.get().preferences_panel_label_items(), "pageCount" ),
new AnchorLayoutData( "40%" ) );
commonFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_short_tieme_format(),
"shortTimeFormat" ) );
commonFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_show_html(), "showHtml" ) );
commonFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_compose_html(), "createHtmlMsgs" ) );
this.preferencesFormPanel.add( commonFieldset );
FieldSet viewFieldset = new FieldSet();
viewFieldset.setCheckboxToggle( false );
viewFieldset.setFrame( true );
viewFieldset.setTitle( TextProvider.get().preferences_panel_label_display() );
this.readingPanePositionCombo = new ComboBox( TextProvider.get().preferences_panel_label_reading_pane() );
this.readingPanePositionCombo.setName( "readingPane" );
this.readingPanePositionCombo.setForceSelection( true );
this.readingPanePositionCombo.setStore( StoreProvider.get().getReadingPanePostitionsStore() );
this.readingPanePositionCombo.setDisplayField( "text" );
this.readingPanePositionCombo.setValueField( "value" );
this.readingPanePositionCombo.setEditable( false );
viewFieldset.add( this.readingPanePositionCombo );
this.reloadPeriodCombo = new ComboBox( TextProvider.get().preferences_panel_label_reload_period() );
this.reloadPeriodCombo.setName( "messagesReloadPeriod" );
this.reloadPeriodCombo.setForceSelection( true );
this.reloadPeriodCombo.setStore( StoreProvider.get().getReloadPeriodStore() );
this.reloadPeriodCombo.setDisplayField( "text" );
this.reloadPeriodCombo.setValueField( "value" );
this.reloadPeriodCombo.setEditable( false );
viewFieldset.add( this.reloadPeriodCombo );
this.themeCombo = new ComboBox( TextProvider.get().preferences_panel_label_theme(), "theme" );
this.themeCombo.setForceSelection( true );
this.themeCombo.setStore( StoreProvider.get().getThemeStore() );
this.themeCombo.setDisplayField( "text" );
this.themeCombo.setValueField( "value" );
this.themeCombo.setEditable( false );
this.themeCombo.setTypeAhead( true );
this.themeCombo.setSelectOnFocus( true );
viewFieldset.add( this.themeCombo );
this.preferencesFormPanel.add( viewFieldset );
FieldSet serverFieldset = new FieldSet();
serverFieldset.setCheckboxToggle( false );
serverFieldset.setFrame( true );
serverFieldset.setTitle( TextProvider.get().preferences_panel_label_mail_server() );
serverFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_mark_as_deleted(),
"markAsDeletedWithoutTrash" ) );
serverFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_empty_trash(),
"emptyTrashAfterLogout" ) );
this.preferencesFormPanel.add( serverFieldset );
this.timezoneCombo.getStore().addStoreListener( new StoreListenerAdapter() {