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.

One Action, Multiple Looksbutton1 button2 button3Note: all three buttons sharethe sayHello Action# resources/MyForm.propertiessayHello.Action.text = Say HellosayHello.Action.icon = hello.pngbutton2.text = ${null}button3.icon = ${null}●●Override Action's visual properties●●action resource is set firstother resources override action's visualsCommon case: Menu/Toolbar/Button2007 <strong>Java</strong>One SM Conference | Session TS-3942 | 45

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

Saved successfully!

Ooh no, something went wrong!