Buggy code:
public class FilterToolbar extends JPanel implements ActionListener { public JToggleButton newButton ; public JToggleButton oldButton ; private JToggleButton answeredButton ; private JToggleButton flaggedButton ; private JToggleButton expungedButton ; private JToggleButton draftButton ; private JToggleButton attachmentButton ; private JToggleButton secureButton ; public JButton clearButton ; public JButton advancedButton ; private JTextField textField ; private TableController tableController ; public FilterToolbar ( TableController headerTableViewer ) { } public void addCButtons ( ) { GridBagLayout layout = new GridBagLayout ( ) ; setLayout ( layout ) ; GridBagConstraints c = new GridBagConstraints ( ) ; setBorder ( BorderFactory . createEmptyBorder ( 2 , 5 , 2 , 5 ) ) ; newButton = new org . columba . core . gui . util . ToolbarToggleButton ( ImageLoader . getSmallImageIcon ( "mail-new.png" ) ) ; newButton . setToolTipText ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_unread" ) ) ; newButton . addActionListener ( this ) ; newButton . setActionCommand ( "NEW" ) ; newButton . setSelected ( false ) ; newButton . setMargin ( new Insets ( 0 , 0 , 0 , 0 ) ) ; c . weightx = 0.0 ; c . anchor = GridBagConstraints . WEST ; c . gridwidth = 1 ; layout . setConstraints ( newButton , c ) ; add ( newButton ) ; answeredButton = new org . columba . core . gui . util . ToolbarToggleButton ( ImageLoader . getSmallImageIcon ( "reply_small.png" ) ) ; answeredButton . addActionListener ( this ) ; answeredButton . setToolTipText ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_answered" ) ) ; answeredButton . setActionCommand ( "ANSWERED" ) ; answeredButton . setMargin ( new Insets ( 0 , 0 , 0 , 0 ) ) ; answeredButton . setSelected ( false ) ; layout . setConstraints ( answeredButton , c ) ; add ( answeredButton ) ; flaggedButton = new org . columba . core . gui . util . ToolbarToggleButton ( ImageLoader . getSmallImageIcon ( "mark-as-important-16.png" ) ) ; flaggedButton . setToolTipText ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_flagged" ) ) ; flaggedButton . setMargin ( new Insets ( 0 , 0 , 0 , 0 ) ) ; flaggedButton . addActionListener ( this ) ; flaggedButton . setActionCommand ( "FLAGGED" ) ; flaggedButton . setSelected ( false ) ; c . insets = new Insets ( 0 , 0 , 0 , 0 ) ; layout . setConstraints ( flaggedButton , c ) ; add ( flaggedButton ) ; expungedButton = new org . columba . core . gui . util . ToolbarToggleButton ( ImageLoader . getSmallImageIcon ( "stock_delete-16.png" ) ) ; expungedButton . setToolTipText ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_expunged" ) ) ; expungedButton . setMargin ( new Insets ( 0 , 0 , 0 , 0 ) ) ; expungedButton . addActionListener ( this ) ; expungedButton . setActionCommand ( "EXPUNGED" ) ; expungedButton . setSelected ( false ) ; layout . setConstraints ( expungedButton , c ) ; add ( expungedButton ) ; attachmentButton = new org . columba . core . gui . util . ToolbarToggleButton ( ImageLoader . getSmallImageIcon ( "attachment.png" ) ) ; attachmentButton . setToolTipText ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_attachment" ) ) ; attachmentButton . setMargin ( new Insets ( 0 , 0 , 0 , 0 ) ) ; attachmentButton . addActionListener ( this ) ; attachmentButton . setActionCommand ( "ATTACHMENT" ) ; attachmentButton . setSelected ( false ) ; layout . setConstraints ( attachmentButton , c ) ; add ( attachmentButton ) ; <START_BUG> JLabel label = new JLabel ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_label" ) ) ; <END_BUG> c . insets = new Insets ( 0 , 10 , 0 , 0 ) ; layout . setConstraints ( label , c ) ; add ( label ) ; textField = new JTextField ( ) ; textField . addActionListener ( this ) ; textField . setActionCommand ( "TEXTFIELD" ) ; textField . addFocusListener ( new FocusListener ( ) { public void focusGained ( FocusEvent e ) { } public void focusLost ( FocusEvent e ) { TableModelFilteredView model = tableController . getView ( ) . getTableModelFilteredView ( ) ; try { model . setPatternString ( textField . getText ( ) ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; } } } ) ; c . weightx = 1.0 ; c . insets = new Insets ( 0 , 5 , 0 , 0 ) ; c . fill = GridBagConstraints . BOTH ; layout . setConstraints ( textField , c ) ; add ( textField ) ; clearButton = new JButton ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_clear" ) ) ; clearButton . setToolTipText ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_clear_tooltip" ) ) ; attachmentButton . setSelected ( false ) ; clearButton . setActionCommand ( "CLEAR" ) ; clearButton . addActionListener ( this ) ; c . weightx = 0.0 ; c . insets = new Insets ( 0 , 10 , 0 , 0 ) ; c . fill = GridBagConstraints . NONE ; c . gridwidth = GridBagConstraints . RELATIVE ; layout . setConstraints ( clearButton , c ) ; add ( clearButton ) ; advancedButton = new JButton ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_advanced" ) ) ; advancedButton . setToolTipText ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_advanced_tooltip" ) ) ; attachmentButton . setSelected ( false ) ; advancedButton . setActionCommand ( "ADVANCED" ) ; advancedButton . addActionListener ( this ) ; c . weightx = 0.0 ; c . fill = GridBagConstraints . NONE ; c . gridwidth = GridBagConstraints . REMAINDER ; layout . setConstraints ( advancedButton , c ) ; add ( advancedButton ) ; } public void update ( ) throws Exception { } public void actionPerformed ( ActionEvent e ) { } }

Fix:
JLabel label = new JLabel ( MailResourceLoader . getString ( "menu" , "mainframe" , "filtertoolbar_header" ) ) ;