Deprecated API
Contents
-
Deprecated MethodsMethodDescriptionuse
JSplitButton.isAlwaysPopup()instead.useJSplitButton.setAlwaysPopup(boolean)instead.UseUIForAnySwing.withBackground(Color)instead, by passing it theUI.Color.TRANSPARENTconstant.
Alternatively, you may use theUIForAnything.peek(Peeker)method to peek into the builder's component and set the flag directly.SwingTree considers the opaqueness a property which emerges from the style configuration of the component. Therefore, it is not recommended to set the opaqueness directly. Instead, use theUIForAnySwing.withBackground(Color)method to set the style of the component so that it becomes opaque.Because changing theBorderof a component dynamically after the component was initialized through the declarative SwingTree API, causes issues with the style engine of a component. (Which itself is based on using a custom border for style rendering)Due to the inherent pitfalls that come along with theDimensionbeing mutable!
UseUIForAnySwing.withMaxSize(Size)instead.Due to the inherent pitfalls that come along with theDimensionbeing mutable!
UseUIForAnySwing.withMinSize(Size)instead.Due to the inherent pitfalls that come along with theDimensionbeing mutable!
Please useUIForAnySwing.withPrefSize(Size)instead.Due to the inherent pitfalls that come along with theDimensionbeing mutable!
Please useUIForAnySwing.withSize(Size)instead.UseUIForAnything.get(Class)instead.UseUIForAnything.get(Class)instead.