Skip to content

Commit

Permalink
Never dismiss tooltips automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Aug 27, 2021
1 parent e256011 commit 6b9e5a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/featurecat/lizzie/gui/MainFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.SwingUtilities;
import javax.swing.ToolTipManager;
import javax.swing.filechooser.FileNameExtensionFilter;
import org.json.JSONObject;

Expand Down Expand Up @@ -87,6 +88,7 @@ public abstract class MainFrame extends JFrame {
public MainFrame() throws HeadlessException {
super(DEFAULT_TITLE);
Utils.mustBeEventDispatchThread();
ToolTipManager.sharedInstance().setDismissDelay(Integer.MAX_VALUE);
}

public boolean isDesignMode() {
Expand Down

0 comments on commit 6b9e5a4

Please sign in to comment.