views:

71

answers:

2

I remember seeing a tutorial on Sun's site that had a class for a digital-like display, but I can no longer find it.

How would you make numbers appear like a digital clock, using Swing?

+1  A: 

There is no such class in Java.

That being said, if you're in Swing, you can adjust the Font settings for the text to a more digital look. On a website, you'd do it with CSS, etc.

Stephane Grenier
A: 

I found this tutorial for constructing a 7 segment display component in Java. Unfortunately it's in German. Here's http://www.addison-wesley.de/Service/Krueger/kap23002.htm&ei=A_MOS7KuIpLesgah8qCnAw&sa=X&oi=translate&ct=result&resnum=9&ved=0CDUQ7gEwCA&prev=/search%3Fq%3Djava%2B%25227%2Bsegment%2522%2Bdisplay%2Bcomponent%26hl%3Den%26safe%3Doff%26sa%3DG">Google's translation.

Bah, that link doesn't show up. Here it is again: http://translate.google.de/translate?hl=en&sl=de&u=http%3A//www.addison-wesley.de/Service/Krueger/kap23002.htm&ei=A%5FMOS7KuIpLesgah8qCnAw&sa=X&oi=translate&ct=result&resnum=9&ved=0CDUQ7gEwCA&prev=/search%3Fq%3Djava%2B%25227%2Bsegment%2522%2Bdisplay%2Bcomponent%26hl%3Den%26safe%3Doff%26sa%3DG

Again? translation .

('m gonna bug this in meta)

Carl Smotricz