Java JSlider 怎么设置其宽度,路径如何填色以及更换滑块形状(可以是图片) 120
展开全部
JSlider本身好像做不到,需要自己扩展
追问
恩。就是setUI 该怎么写- -
追答
说真的,没有研究过,毕竟用swing做界面的时候很少,有时间的话我看看
Think in java 中这么写的:
It is also possible to create a custom look and feel package, for example, if you are building a framework for a company that wants a distinctive appearance. This is a big job and is far beyond the scope of this book (in fact, you’ll discover it is beyond the scope of many dedicated Swing books!).
你可以定义自己的,不过工作量很大
还有个方式,自己做一个Slider
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询