no message
This commit is contained in:
17
src/Common/Visual/Controls/StyledList.java
Normal file
17
src/Common/Visual/Controls/StyledList.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package Common.Visual.Controls;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Visual.Themes.ThemeElement;
|
||||
import Common.Visual.Fonts.VisualiserFonts;
|
||||
|
||||
import javax.swing.*;
|
||||
public class StyledList extends JList implements ThemeElement {
|
||||
public StyledList() {
|
||||
setFont(CommonUI.getTheme().Fonts.get(VisualiserFonts.TreePlain));
|
||||
applyTheme();
|
||||
}
|
||||
@Override
|
||||
public void applyTheme() {
|
||||
setBackground(CommonUI.getTheme().table_background);
|
||||
setForeground(CommonUI.getTheme().foreground);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user