DigitalClock Javadoc claims:
Class Overview
Similar to AnalogClock, but digital. Shows seconds. FIXME: implement individual views for hours / minutes / seconds, so proportional fonts do not shake rendering
Judging by FIXME , the ability to hide parts of DigitalClock can be realized in the end. I did not find anything in Javadoc or source code that will do what you want.
If you don't want to write your own class that extends DigitalClock (or your own synchronization implementation in general), you can simply cover the second part of DigitalClock with another element if that serves your purpose.
Jason plank
source share