Ticket #12368: JMultilineLabelDisableFocusable.patch
File JMultilineLabelDisableFocusable.patch, 538 bytes (added by , 8 years ago) |
---|
-
src/org/openstreetmap/josm/gui/widgets/JMultilineLabel.java
diff --git a/src/org/openstreetmap/josm/gui/widgets/JMultilineLabel.java b/src/org/openstreetmap/josm/gui/widgets/JMultilineLabel.java index 689e698..c576640 100644
a b public class JMultilineLabel extends JEditorPane { 50 50 if (!html.startsWith("<html>")) { 51 51 html = "<html>" + html + "</html>"; 52 52 } 53 setFocusable(false); 53 54 super.setText(html); 54 55 } 55 56