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 应用程序启动时显示一个图像,它会闪烁 2 秒钟然后处理对话框我将图像的大小设置为对话框的大小
有没有办法拥有一个无框对话框或任何其他类似的组件?
提前致谢 !
如果您使用摇摆:
dialog.setUndecorated(true);
如果您使用的是 JavaFx:
stage.initStyle(StageStyle.UNDECORATED);
使用对话框setUndecorated( true )
setUndecorated( true )