问题
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