java jbutton change rollover border color

我们两清 提交于 2019-12-11 07:39:32

问题


When you roll over a Jbutton there's a greyish border that comes up to show the rollover effect. Is there a simple way to change the color of that border say to red?


回答1:


You would have to tweak the UI Default for what ever look and feel you are using. This is simple, but finding the correct variable name to adjust normally is the time consuming part.



来源:https://stackoverflow.com/questions/6444722/java-jbutton-change-rollover-border-color

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!