Changeset 6040 in josm for trunk/src/org/openstreetmap/josm/gui/widgets/HtmlPanel.java
- Timestamp:
- 2013-06-29T01:23:39+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/HtmlPanel.java
r5886 r6040 9 9 import javax.swing.JPanel; 10 10 import javax.swing.UIManager; 11 import javax.swing.text.html.HTMLEditorKit;12 11 import javax.swing.text.html.StyleSheet; 13 12 … … 19 18 * blue and they are underlined. There is also a CSS rule for the HTML tag <strong> 20 19 * configured. 21 * 20 * @since 2688 22 21 */ 23 22 public class HtmlPanel extends JPanel { … … 50 49 ss.addRule("a {text-decoration: underline; color: blue}"); 51 50 ss.addRule("ul {margin-left: 1cm; list-style-type: disc}"); 52 HTMLEditorKit kit = new HTMLEditorKit(); 51 JosmHTMLEditorKit kit = new JosmHTMLEditorKit(); 53 52 kit.setStyleSheet(ss); 54 53 jepMessage.setEditorKit(kit);
Note:
See TracChangeset
for help on using the changeset viewer.
