如何将默认的 java swing 滚动条更改为 windows 样式?
How to change the default java swing scrollbar with windows style?
那么如何将默认的 java 摆动滚动条更改为 windows 样式?
Image
(我觉得是 Metro 风格?)
你试过了吗
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
在你的 main() 中?
如果这不是您想要的外观和感觉,不妨阅读一下:https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
那么如何将默认的 java 摆动滚动条更改为 windows 样式?
Image
(我觉得是 Metro 风格?)
你试过了吗
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
在你的 main() 中?
如果这不是您想要的外观和感觉,不妨阅读一下:https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html