diff --git a/src/main/java/com/larsvansoest/runelite/clueitems/ui/components/DataGrid.java b/src/main/java/com/larsvansoest/runelite/clueitems/ui/components/DataGrid.java index d02b099..add5759 100644 --- a/src/main/java/com/larsvansoest/runelite/clueitems/ui/components/DataGrid.java +++ b/src/main/java/com/larsvansoest/runelite/clueitems/ui/components/DataGrid.java @@ -316,11 +316,8 @@ public void load(final Collection 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); } /** @@ -340,9 +337,6 @@ public void setSeparatorColor(final Color color) */ public void removeDisclaimer() { - SwingUtilities.invokeLater(() -> - { - this.disclaimerPanel.setVisible(false); - }); + this.disclaimerPanel.setVisible(false); } } \ No newline at end of file