Java Tips Weblog

  • Blog Stats

    • 2,613,990 hits
  • Categories

  • Archives

Key Bindings

Posted by Rob Camick on October 10, 2008

All Swing components use Key Bindings, but what are they? Well, have you ever wondered how the “copy” functionality of a text component works? The KeyStroke (Ctrl+C) is used to invoke an Action (copy). So a key binding is simply the mapping of a KeyStroke to an Action.
Read the rest of this entry »

Posted in Application, Swing | 14 Comments »

UIManager Defaults

Posted by Rob Camick on October 9, 2008

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.
Read the rest of this entry »

Posted in Application, Swing | 39 Comments »

 
Design a site like this with WordPress.com
Get started