Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 Swing 应用程序,它在 Windows XP 上运行绝对完美,但无法在 Windows 8 上提供所需的外观和感觉(框架尺寸和对话框更改)。我搜索了很多但没有解决方案。在 Win 8 上部署之前,我是否必须对我的应用程序进行一些更改?
为您的Jframe. 如果您使用 IDE 进行设计,则意味着外观在另一个系统中会发生变化。所以在你的设计中使用布局。
Jframe
检查此链接单击此处
您可以在 Windows XP 中使用此布局,然后在 Windows8 中尝试。这看起来不会改变。