String childIndicatorUrl = style.getProperty( "command-child-indicator" ); if (childIndicatorUrl != null) { try { this.childIndicator = StyleSheet.getImage(childIndicatorUrl, this, true); this.childIndicatorWidth = this.childIndicator.getWidth(); this.childIndicatorHeight = this.childIndicator.getHeight(); } catch (IOException e) {  System.out.println("Unable to load command-child-indicator[ " + childIndicatorUrl + "] " + e );
if (this.hasChildren) { String childIndicatorUrl = style.getProperty( "command-child-indicator" ); if (childIndicatorUrl != null) { try { this.childIndicator = StyleSheet.getImage(childIndicatorUrl, this, true); this.childIndicatorWidth = this.childIndicator.getWidth(); this.childIndicatorHeight = this.childIndicator.getHeight(); } catch (IOException e) {  System.out.println("Unable to load command-child-indicator[ " + childIndicatorUrl + "] " + e ); }
	public void setStyle(Style style) {		super.setStyle(style);		//#if polish.css.command-child-indicator-color			Integer childIndicatorColorInt = style.getIntProperty("command-child-indicator-color");			if ( childIndicatorColorInt != null ) {				this.childIndicatorColor = childIndicatorColorInt.intValue();			}		//#endif		//#if polish.css.command-child-indicator			String childIndicatorUrl = style.getProperty( "command-child-indicator" );			if (childIndicatorUrl != null) {				try {					this.childIndicator = StyleSheet.getImage(childIndicatorUrl, this, true);					this.childIndicatorWidth = this.childIndicator.getWidth();					this.childIndicatorHeight = this.childIndicator.getHeight();				} catch (IOException e) {					//#debug error					System.out.println("Unable to load command-child-indicator[ " + childIndicatorUrl + "] " + e );				}			}			if (this.childIndicator == null) {		//#endif							this.childIndicatorWidth = this.font.getHeight();				this.childIndicatorHeight = this.childIndicatorWidth;		//#if polish.css.command-child-indicator			}		//#endif		//#if polish.css.command-child-indicator-width			Integer childIndicatorWidthInt = style.getIntProperty("command-child-indicator-width");			if ( childIndicatorWidthInt != null ) {				this.childIndicatorWidth = childIndicatorWidthInt.intValue();			}		//#endif		//#if polish.css.command-child-indicator-height			Integer childIndicatorHeightInt = style.getIntProperty("command-child-indicator-height");			if ( childIndicatorHeightInt != null ) {				this.childIndicatorHeight = childIndicatorHeightInt.intValue();			}		//#endif	}