Skip to content

Commit

Permalink
- update progress components on LaF change
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Sep 20, 2023
1 parent 84ff6f9 commit 2d7514c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/mediathek/mainwindow/MediathekGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ public MediathekGui() {

setupScrollBarWidth();
UIManager.put("TabbedPane.showTabSeparators", true);
UIManager.addPropertyChangeListener(evt -> {
if (evt.getPropertyName().equalsIgnoreCase("lookAndFeel")) {
SwingUtilities.updateComponentTreeUI(progressLabel);
SwingUtilities.updateComponentTreeUI(progressBar);
}
});

setupAlternatingRowColors();

Expand Down

0 comments on commit 2d7514c

Please sign in to comment.