# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: D:\ws\main # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: code.analysis/src/org/netbeans/modules/analysis/ui/AnalysisResultTopComponent.form --- code.analysis/src/org/netbeans/modules/analysis/ui/AnalysisResultTopComponent.form +++ code.analysis/src/org/netbeans/modules/analysis/ui/AnalysisResultTopComponent.form @@ -80,7 +80,7 @@ - + Index: code.analysis/src/org/netbeans/modules/analysis/ui/AnalysisResultTopComponent.java --- code.analysis/src/org/netbeans/modules/analysis/ui/AnalysisResultTopComponent.java +++ code.analysis/src/org/netbeans/modules/analysis/ui/AnalysisResultTopComponent.java @@ -51,6 +51,7 @@ import java.util.Collections; import java.util.List; import java.util.logging.Logger; +import javax.swing.JEditorPane; import javax.swing.UIManager; import javax.swing.border.Border; import javax.swing.event.HyperlinkEvent; @@ -145,6 +146,7 @@ styleSheet.addRule("h1 { font-weight: bold; font-size: 100% }"); hek.setStyleSheet(styleSheet); descriptionPanel.setEditorKit(hek); + descriptionPanel.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE); manager.addPropertyChangeListener(new PropertyChangeListener() { @Override public void propertyChange(PropertyChangeEvent evt) { @@ -199,7 +201,7 @@ jSplitPane1 = new javax.swing.JSplitPane(); btvHolder = new javax.swing.JPanel(); jScrollPane1 = new javax.swing.JScrollPane(); - descriptionPanel = new javax.swing.JTextPane(); + descriptionPanel = new javax.swing.JEditorPane(); jToolBar1 = new javax.swing.JToolBar(); refreshButton = new javax.swing.JButton(); previousError = new javax.swing.JButton(); @@ -344,7 +346,7 @@ // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JPanel btvHolder; private javax.swing.JToggleButton byCategory; - private javax.swing.JTextPane descriptionPanel; + private javax.swing.JEditorPane descriptionPanel; private javax.swing.JScrollPane jScrollPane1; private javax.swing.JSplitPane jSplitPane1; private javax.swing.JToolBar jToolBar1;