Java swing禁用窗口 [英] Java swing disabling the window
本文介绍了Java swing禁用窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的swing应用程序中禁用该窗口这是一张图片来展示我的意思:
I would like to disable the window in my swing application here is a picture to demonstrate what I mean:
我的绘画技巧不好但我希望你理解我,结果应该是这样的:
My paint skills are bad but I hope you understand me, the result should look like this:
边框不是问题,因为它很容易编辑它们。
The borders are not the issue since it's easy to edit them.
推荐答案
你应该尝试 frame.setundecorated(true);
这篇关于Java swing禁用窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文