Swing 中的垂直进度条?
我需要一个垂直的进度条来显示一种情况下的温度和另一种情况下的电压。我怎样才能做到这一点?
我可以将进度条设置为垂直模式吗?
我可以在不可调整的只读模式下使用滑块控件吗?我想当用户尝试修改滑块时我可以简单地将滑块设置为实际值,但这看起来很笨拙。
有什么建议吗?
I need a veritical progress bar in swing to display a temperature in one case and a voltage in another. How can I accomplish this?
Can I set the progress bar to a vertical mode?
Can I use the slider control in a read only mode in which it id not adjustable? I was thinking I could simply set the slider to the actual value when the user attempted to modify it but that seems clunky.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 Java 教程,如何使用进度条 :
Per the Java tutorial, How to Use Progress Bars: