mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 06:27:04 +08:00
GP-1981 converting option colors to theme colors and font usages to
theme properties
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user