if (hour < 10)
if (hour < 10) {
    public void paint( Graphics g )    {	g.setColor(getBackground());	g.fillRect(0, 0, getSize().width, getSize().height);	long start = getVirtualXLocation() - getCDayZeroTime();	long end = start + getVirtualXSize();			if( end <= start ) return;	// paint a little beyond the edges, since labels	// will start to become visible before their tics	// are actually in view	long overscan = getVirtualXSize() / 10;	start = start - overscan;	end   = end   + overscan;	// compute start values	long firstTic;	if( start >= 0)	    firstTic = ((start+getTicInterval()-1)			/ getTicInterval())		* getTicInterval();	else // ( start < 0 )	    firstTic = start		/ getTicInterval()		* getTicInterval();	long firstLabel;	if( start >=0 )	    firstLabel = ((start+getLabelInterval()-1)			  / getLabelInterval())		* getLabelInterval();	else // ( start < 0 )	    firstLabel = start / getLabelInterval() * getLabelInterval();	// paint tics	g.setColor( getForeground() );	for( long i=firstTic; i<=end; i+=getTicInterval() )	    {		long x = i + getCDayZeroTime();		g.drawLine( ScreenXOfVirtualX(x), 0,			    ScreenXOfVirtualX(x), getSize().height );	    }	// paint labels	g.setFont( getFont() );	final FontMetrics fm = g.getFontMetrics();	final int textheight = fm.getAscent();	for( long j=firstLabel; j<=end; j+=getTicInterval() )	    {		long labelx = j + getCDayZeroTime();		String text;		{		    switch( myLabelUnitsMode )			{			default:			case JAVALONG_UNITS:			    text = Long.toString( labelx );			    break;			case CTHOUSANDS_UNITS:			    text = "C:" + Long.toString( labelx / 1000 );			    break;			case PLAINDAYS_UNITS:			    text = Long.toString((labelx - getCDayZeroTime()) / (1000 * 3600 * 24));			    break;			case CDAYS_UNITS:			    text = "C:" + Long.toString( (labelx-getCDayZeroTime()) / (1000*3600*24) );			    break;			}		}		if (getTicInterval () < DAY) {		  long millisToday = labelx % DAY;		  long hour = millisToday / HOUR;		  if (millisToday >= HOUR) {			if (hour < 10)			  text = "0" + hour + ":00";			else			  text = "" + hour + ":00";			g.setFont( getFont () );		  }		  else			g.setFont( biggerFont );		}				final int textwidth = fm.stringWidth( text );		g.drawString(text, ScreenXOfVirtualX(labelx + getTicInterval() / 2) - textwidth / 2,			     getSize().height / 2 + textheight / 2 );	    }	// paint resize handles	g.setColor(getForeground().darker());	g.fill3DRect(0,0, getResizeHandleWidth(), getSize().height, true);	g.fill3DRect(getSize().width-getResizeHandleWidth(),0, getResizeHandleWidth(), getSize().height, true);    }