Module java.desktop
Package javax.swing

Class UIDefaults.ProxyLazyValue

java.lang.Object
javax.swing.UIDefaults.ProxyLazyValue
All Implemented Interfaces:
UIDefaults.LazyValue
Enclosing class:
UIDefaults

public static class UIDefaults.ProxyLazyValue extends Object implements UIDefaults.LazyValue
This class provides an implementation of LazyValue which can be used to delay loading of the Class for the instance to be created. It also avoids creation of an anonymous inner class for the LazyValue subclass. Both of these improve performance at the time that a a Look and Feel is loaded, at the cost of a slight performance reduction the first time createValue is called (since Reflection APIs are used).
Since:
1.3