UIManager

Contains information about the default properties of each Swing component.
Download

UIManager Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Rob Camick
  • Operating Systems:
  • Windows
  • File Size:
  • 738 B
  • Release Date:
  • 2021-04-29 01:26:11

UIManager Tags


UIManager Description

The UIManager contains information about the default properties of each Swing component. This information is stored in the UIDefaults class in the form of key/value pairs. Each Look and Feel will have its own set of default properties. The UIManager can be used to make changes to these properties. At times you may want to know what the default value of a property is for a specific component. You can use code like this to get the default font for a JTextField: Font font = UIManager.getFont("TextField.font"); Other times you may want to change the default value of a property for a specific component. You can use code like this to change the default font for all JTextFields: UIManager.put("TextField.font", new FontUIResource( yourFontHere ));


UIManager Related Software