Buggy code:
public class MailOptionsDialog extends JDialog implements ActionListener { protected JButton okButton ; protected JButton cancelButton ; protected JButton helpButton ; protected CheckBoxWithMnemonic markCheckBox ; protected JSpinner markSpinner ; protected CheckBoxWithMnemonic preferHtmlCheckBox ; protected CheckBoxWithMnemonic disableHtmlCheckBox ; protected CheckBoxWithMnemonic enableSmiliesCheckBox ; protected CheckBoxWithMnemonic quotedColorCheckBox ; protected JButton quotedColorButton ; protected JCheckBox emptyTrashCheckBox ; protected CheckBoxWithMnemonic emptySubjectCheckBox ; protected CheckBoxWithMnemonic sendHtmlMultipartCheckBox ; protected CheckBoxWithMnemonic showAttachmentsInlineCheckBox ; protected LabelWithMnemonic forwardLabel ; protected JComboBox forwardComboBox ; public MailOptionsDialog ( JFrame frame ) { } public void updateComponents ( boolean b ) { if ( b ) { XmlElement options = MailConfig . getInstance ( ) . get ( "options" ) . getElement ( "//options" ) ; XmlElement gui = options . getElement ( "gui" ) ; XmlElement messageviewer = gui . getElement ( "messageviewer" ) ; if ( messageviewer == null ) { messageviewer = gui . addSubElement ( "messageviewer" ) ; } <START_BUG> showAttachmentsInlineCheckBox . setSelected ( new org . columba . core . config . DefaultItem ( messageviewer ) . getBoolean ( "inline_attachments" , false ) ) ; <END_BUG> XmlElement markasread = options . getElement ( "markasread" ) ; String delay = markasread . getAttribute ( "delay" , "2" ) ; boolean enable = Boolean . valueOf ( markasread . getAttribute ( "enabled" , "true" ) ) . booleanValue ( ) ; markCheckBox . setSelected ( enable ) ; markSpinner . setValue ( new Integer ( delay ) ) ; XmlElement smilies = messageviewer . getElement ( "smilies" ) ; if ( smilies == null ) { smilies = messageviewer . addSubElement ( "smilies" ) ; } boolean enableSmilies = Boolean . valueOf ( smilies . getAttribute ( "enabled" , "true" ) ) . booleanValue ( ) ; enableSmiliesCheckBox . setSelected ( enableSmilies ) ; XmlElement html = options . getElement ( "html" ) ; boolean preferhtml = Boolean . valueOf ( html . getAttribute ( "prefer" ) ) . booleanValue ( ) ; preferHtmlCheckBox . setSelected ( preferhtml ) ; boolean disablehtml = Boolean . valueOf ( html . getAttribute ( "disable" ) ) . booleanValue ( ) ; disableHtmlCheckBox . setSelected ( disablehtml ) ; XmlElement composerOptions = MailConfig . getInstance ( ) . getComposerOptionsConfig ( ) . getRoot ( ) . getElement ( "//options" ) ; XmlElement subject = composerOptions . getElement ( "subject" ) ; if ( subject == null ) { subject = composerOptions . addSubElement ( "subject" ) ; } boolean askSubject = Boolean . valueOf ( subject . getAttribute ( "ask_if_empty" , "true" ) ) . booleanValue ( ) ; emptySubjectCheckBox . setSelected ( askSubject ) ; XmlElement composerHtml = composerOptions . getElement ( "html" ) ; if ( composerHtml == null ) { composerHtml = composerOptions . addSubElement ( "html" ) ; } boolean sendHtml = Boolean . valueOf ( composerHtml . getAttribute ( "send_as_multipart" , "true" ) ) . booleanValue ( ) ; sendHtmlMultipartCheckBox . setSelected ( sendHtml ) ; XmlElement forward = composerOptions . getElement ( "forward" ) ; if ( forward == null ) { forward = composerOptions . addSubElement ( "forward" ) ; } String forwardStyle = forward . getAttribute ( "style" , "attachment" ) ; if ( forwardStyle . equals ( "attachment" ) ) { forwardComboBox . setSelectedIndex ( 0 ) ; } else { forwardComboBox . setSelectedIndex ( 1 ) ; } } else { XmlElement options = MailConfig . getInstance ( ) . get ( "options" ) . getElement ( "//options" ) ; XmlElement gui = options . getElement ( "gui" ) ; XmlElement messageviewer = gui . getElement ( "messageviewer" ) ; XmlElement markasread = options . getElement ( "markasread" ) ; markasread . addAttribute ( "delay" , ( ( Integer ) ( markSpinner . getValue ( ) ) ) . toString ( ) ) ; if ( markCheckBox . isSelected ( ) ) { markasread . addAttribute ( "enabled" , "true" ) ; } else { markasread . addAttribute ( "enabled" , "false" ) ; } markasread . notifyObservers ( ) ; XmlElement smilies = messageviewer . getElement ( "smilies" ) ; if ( enableSmiliesCheckBox . isSelected ( ) ) { smilies . addAttribute ( "enabled" , "true" ) ; } else { smilies . addAttribute ( "enabled" , "false" ) ; } if ( showAttachmentsInlineCheckBox . isSelected ( ) ) { messageviewer . addAttribute ( "inline_attachments" , "true" ) ; } else messageviewer . addAttribute ( "inline_attachments" , "false" ) ; smilies . notifyObservers ( ) ; XmlElement quote = messageviewer . getElement ( "quote" ) ; Color color = quotedColorButton . getBackground ( ) ; quote . addAttribute ( "color" , new Integer ( color . getRGB ( ) ) . toString ( ) ) ; if ( quotedColorCheckBox . isSelected ( ) ) { quote . addAttribute ( "enabled" , "true" ) ; } else { quote . addAttribute ( "enabled" , "false" ) ; } quote . notifyObservers ( ) ; XmlElement html = options . getElement ( "html" ) ; if ( preferHtmlCheckBox . isSelected ( ) ) { html . addAttribute ( "prefer" , Boolean . TRUE . toString ( ) ) ; } else { html . addAttribute ( "prefer" , Boolean . FALSE . toString ( ) ) ; } if ( disableHtmlCheckBox . isSelected ( ) ) { html . addAttribute ( "disable" , Boolean . TRUE . toString ( ) ) ; } else { html . addAttribute ( "disable" , Boolean . FALSE . toString ( ) ) ; } XmlElement composerOptions = MailConfig . getInstance ( ) . getComposerOptionsConfig ( ) . getRoot ( ) . getElement ( "//options" ) ; XmlElement subject = composerOptions . getElement ( "subject" ) ; if ( emptySubjectCheckBox . isSelected ( ) ) { subject . addAttribute ( "ask_if_empty" , "true" ) ; } else { subject . addAttribute ( "ask_if_empty" , "false" ) ; } subject . notifyObservers ( ) ; XmlElement composerHtml = composerOptions . getElement ( "html" ) ;

Fix:
showAttachmentsInlineCheckBox . setSelected ( new org . columba . core . config . DefaultItem ( messageviewer ) . getBooleanWithDefault ( "inline_attachments" , false ) ) ;