有没有人使用秋千在Java中的老虎机示例? [英] Does anyone have a example of slot machine in Java using swing?

查看:59
本文介绍了有没有人使用秋千在Java中的老虎机示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获得一些有关用Java编写的老虎机的GUI的示例,我知道这是一种特定的事情,但是我想知道是否可以使用Java swing或类似方法来制作一些动画,问候

I want to get some examples about the GUI of an slot machine written in java, I know that it's kind of specific thing, but i want to know if it's possible to do some animations with java swing, or something like that, greetings

推荐答案

这不是老虎机模拟,但是您可以在

It isn't a slot machine simulation, but you may find related features in this example.

附录:引用的示例使用Unicode字形来实现多样性,但另一个技巧是实施 Icon 界面,它与某些组件很好地配合使用.这个示例装饰一个 JButton 用于游戏,而这个

Addendum: The example cited uses Unicode glyphs for variety, but another trick is to implement the Icon interface, which works nicely with some components. This example decorates a JButton for use in a game, while this example extends a child of JLabel to render a table.

这篇关于有没有人使用秋千在Java中的老虎机示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆