Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
SwapLAF
Last Revision: | Version 1.3, 2005-02-28 Updated project for Xcode/Panther compatibility, new disclaimer. |
Build Requirements: | |
Runtime Requirements: | Java 1.4.2 |
This package contains source code and project files for an example of how to change the look-and-feel for a Swing application among the various PLAF's available on the system. Note that runtime changing of a Java application's Look-And-Feel is not recommended by Sun. This sample is intended to illustrate how to set a look-and-feel on your application, which typically should be done once during initialization. The simplest way of doing this is using swing.properties as illustrated in Technical Q&A 1059. This sample is intended for Java development on Mac OS X.
Copyright © 2005 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2005-02-28