if ( isAlignmentEnabled && fdCurrent.getAlignment( ) != null )
if ( isAlignmentEnabled && fdCurrent.getAlignment( ) != null && fdCurrent.getAlignment( ).isSetHorizontalAlignment( ) && fdCurrent.getAlignment( ).isSetVerticalAlignment( ) )
	private void populateLists( )	{		// Populate font names list		GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment( );		String[] saFontNames = ge.getAvailableFontFamilyNames( );		for ( int iC = 0; iC < saFontNames.length; iC++ )		{			cmbFontNames.add( saFontNames[iC] );			if ( saFontNames[iC].equalsIgnoreCase( ChartUIUtil.getFontName( fdCurrent ) ) )			{				cmbFontNames.select( iC );			}		}		if ( cmbFontNames.getSelectionIndex( ) == -1 )		{			cmbFontNames.select( 0 );		}		// Select alignment button		if ( isAlignmentEnabled && fdCurrent.getAlignment( ) != null )		{			HorizontalAlignment ha = fdCurrent.getAlignment( )					.getHorizontalAlignment( );			VerticalAlignment va = fdCurrent.getAlignment( )					.getVerticalAlignment( );			if ( HorizontalAlignment.LEFT_LITERAL.equals( ha ) )			{				if ( VerticalAlignment.TOP_LITERAL.equals( va ) )				{					btnATopLeft.setSelection( true );				}				else if ( VerticalAlignment.BOTTOM_LITERAL.equals( va ) )				{					btnABottomLeft.setSelection( true );				}				else				{					btnACenterLeft.setSelection( true );				}			}			else if ( HorizontalAlignment.RIGHT_LITERAL.equals( ha ) )			{				if ( VerticalAlignment.TOP_LITERAL.equals( va ) )				{					btnATopRight.setSelection( true );				}				else if ( VerticalAlignment.BOTTOM_LITERAL.equals( va ) )				{					btnABottomRight.setSelection( true );				}				else				{					btnACenterRight.setSelection( true );				}			}			else			{				if ( VerticalAlignment.TOP_LITERAL.equals( va ) )				{					btnATopCenter.setSelection( true );				}				else if ( VerticalAlignment.BOTTOM_LITERAL.equals( va ) )				{					btnABottomCenter.setSelection( true );				}				else				{					btnACenter.setSelection( true );				}			}		}	}