4632N/A protected static final RecyclableSingleton<PropertySizeListener> sizeListener = new RecyclableSingletonFromDefaultConstructor<PropertySizeListener>(PropertySizeListener.class);
4632N/A final String sizeProperty = java.security.AccessController.doPrivileged(new sun.security.action.GetPropertyAction(SYSTEM_PROPERTY_KEY));
4632N/A protected static JRSUIConstants.Size applySizeForControl(final JComponent c, final AquaPainter<? extends JRSUIState> painter) {
4632N/A final JRSUIConstants.Size size = sizeFromUser == null ? JRSUIConstants.Size.REGULAR : sizeFromUser;
4632N/A if (size == JRSUIConstants.Size.MINI) return initialFont.deriveFont(AquaFonts.getMiniControlTextFont().getSize2D());
4632N/A if (size == JRSUIConstants.Size.SMALL) return initialFont.deriveFont(AquaFonts.getSmallControlTextFont().getSize2D());
4632N/A // call JComponent.getUI() if it exists, then call Sizeable.applySizeFor() if the UI is "Sizeable"
4632N/A this.insets = new InsetsUIResource(desc.insets.top, desc.insets.left, desc.insets.bottom, desc.insets.right);
4632N/A this.margins = new InsetsUIResource(desc.margins.top, desc.margins.left, desc.margins.bottom, desc.margins.right);
4632N/A public SizeVariant alterInsets(final int top, final int left, final int bottom, final int right) {
4632N/A public SizeVariant alterMargins(final int top, final int left, final int bottom, final int right) {
4632N/A static Insets generateInsets(final Insets i, final int top, final int left, final int bottom, final int right) {