开发者

Digital or LCD-like display class? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
开发者_StackOverflow社区

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed last year.

Improve this question

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?


You mean something like this?

Digital or LCD-like display class? [closed]

Or possibly more old school?

Digital or LCD-like display class? [closed]

Have a look at the Harmonic Code Blog, the guy writes has provides a library called the Steel Series which does these components and many more.

This entry shows of some of his clock / round gauges components. However its best to see his components in action - he provides 2 webstart demos of his components

  • Standard Steel Series (direct link to webstart app)
  • Extra Steel Series (direct link to webstart app)


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.


I found this tutorial for constructing a 7 segment display component in Java. Unfortunately it's in German. Here's 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://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

Again? translation .

('m gonna bug this in meta)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜