GP-1981 converting option colors to theme colors and font usages to

theme properties
This commit is contained in:
ghidragon
2022-09-29 17:50:58 -04:00
parent 79b95702ba
commit 45395d7575
110 changed files with 888 additions and 1151 deletions
@@ -122,7 +122,7 @@ public class HelloWorldComponentProvider extends ComponentProviderAdapter {
panel.setBorder(BorderFactory.createTitledBorder("Example of a Component"));
activeButtonObj = new MyButton("Hello World");
Font f = activeButtonObj.getFont();
activeButtonObj.setFont(new Font(f.getFontName(), Font.BOLD, 14));
activeButtonObj.setFont(f.deriveFont(Font.BOLD, 14));
panel.add(activeButtonObj);
mainPanel.add(panel, BorderLayout.CENTER);
}