ggParam.addSpace( ParamSpace.spcFreqHertz );
ggCombo = new JComboBox();
for( int i = 0; i < RATE_ITEMS.length; i++ ) {
ggCombo.addItem( RATE_ITEMS[ i ]);
}
ggParam.setBorder( new ComboBoxEditorBorder() );
ggCombo.setEditor( ggParam );
ggCombo.setEditable( true );
ggParam.setPreferences( prefs, key ); // important to be _afer_ setEditor because otherwise prefs get overwritten!
// ggCombo.setSelectedIndex( 0 ); // DEFAULT_RATE
//ggParam.setPreferredSize( new Dimension( ggParam.getPreferredSize().width, Math.max( 24, ggParam.getPreferredSize().height )));