11.07.2015 Views

JSR-296: The Swing Application Framework - Java

JSR-296: The Swing Application Framework - Java

JSR-296: The Swing Application Framework - Java

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Resource InjectionResourceMap.injectComponents(Component root)ResourceMap.injectComponent(Component target)●Initialize properties from like-named resources● myPanel.setForeground(Color c)● myLabel.setIcon(Icon i)ResourceMap.injectFields(Object target)●Initialize marked fields from like-named resources●●@Resource Color foreground;@Resource Icon icon;2007 <strong>Java</strong>One SM Conference | Session TS-3942 | 28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!