FieldSet commonFieldset = new FieldSet();
commonFieldset.setCheckboxToggle( false );
commonFieldset.setFrame( true );
commonFieldset.setTitle( TextProvider.get().preferences_panel_label_general() );
this.languageCombo = new ComboBox( TextProvider.get().preferences_panel_label_language(), "language" );
this.languageCombo.setForceSelection( true );
this.languageCombo.setStore( StoreProvider.get().getLanguageStore() );
this.languageCombo.setDisplayField( "text" );
this.languageCombo.setValueField( "value" );
this.languageCombo.setEditable( false );
commonFieldset.add( this.languageCombo, new AnchorLayoutData( "70%" ) );
this.timezoneCombo = new ComboBox( TextProvider.get().preferences_panel_label_timezone(), "timezone" );
this.timezoneCombo.setForceSelection( true );
this.timezoneCombo.setStore( StoreProvider.get().getTimezoneStore() );
this.timezoneCombo.setDisplayField( "display" );
this.timezoneCombo.setValueField( "value" );
this.timezoneCombo.setEditable( false );
this.timezoneCombo.setLoadingText( TextProvider.get().common_mask_text() );
this.timezoneCombo.setMode( ComboBox.REMOTE );
this.timezoneCombo.setTriggerAction( ComboBox.ALL );
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 );