html viewer doesn't need focus

This commit is contained in:
Sergey Simonchik
2014-10-28 01:21:25 +04:00
parent 0c781807db
commit 9f9a64efa6
@@ -442,6 +442,7 @@ public class SwingHelper {
textPane.setOpaque(false);
}
textPane.setForeground(foreground != null ? foreground : UIUtil.getLabelForeground());
textPane.setFocusable(false);
return textPane;
}