Skip to content

Commit

Permalink
Revert "Added invokeLater for hiding disclaimer panels."
Browse files Browse the repository at this point in the history
  • Loading branch information
larsvansoest authored Sep 28, 2021
1 parent c6c4d15 commit 3027f81
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,8 @@ public void load(final Collection<T> entries)
*/
public void setDisclaimer(final String text)
{
SwingUtilities.invokeLater(() ->
{
this.disclaimerPanel.setText(text);
this.disclaimerPanel.setVisible(true);
});
this.disclaimerPanel.setText(text);
this.disclaimerPanel.setVisible(true);
}

/**
Expand All @@ -340,9 +337,6 @@ public void setSeparatorColor(final Color color)
*/
public void removeDisclaimer()
{
SwingUtilities.invokeLater(() ->
{
this.disclaimerPanel.setVisible(false);
});
this.disclaimerPanel.setVisible(false);
}
}

0 comments on commit 3027f81

Please sign in to comment.