Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,17 @@ public final class ToolTipUI {
public ToolTipSupport show(JEditorPane editorPane) {
EditorUI eui = Utilities.getEditorUI(editorPane);
if (eui != null) {
eui.getToolTipSupport().setToolTip(et);
ToolTipSupport toolTipSupport = eui.getToolTipSupport();
toolTipSupports.setToolTip(
et,
PopupManager.ViewPortBounds,
PopupManager.AbovePreferred,
0, 0,
ToolTipSupport.FLAGS_HEAVYWEIGHT_TOOLTIP
);

this.editorPane = editorPane;
return eui.getToolTipSupport();
return toolTipSupport;
} else {
return null;
}
Expand Down