Skip to content

Commit

Permalink
Fix #91: Hint popups not dismissed on hierarchy change
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbylight committed Jul 28, 2024
1 parent 16f9bf7 commit bace3ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1509,6 1509,7 @@ public void componentResized(ComponentEvent e) {
}

public void removeFrom(Window w) {
hideChildWindows();
w.removeComponentListener(this);
w.removeWindowFocusListener(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 27,7 @@ public class AutoCompleteDemoApp extends JFrame {
/**
* Constructor.
*/
public AutoCompleteDemoApp() {
AutoCompleteDemoApp() {
this(null);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 340,7 @@ private void updateEditorPane() {
Font f = UIManager.getFont("Label.font");
String fontTag = "<body style=\"font-family: " f.getFamily()
"; font-size: " f.getSize() "pt; \">";
String text = "<html>" fontTag ""
String text = "<html>" fontTag
"The text area below provides simple code completion for the C "
"programming language as you type. Simply type <b>Ctrl Space</b> "
"at any time to see a list of completion choices (function names, "
Expand Down

0 comments on commit bace3ea

Please sign in to comment.