如何让JFrame没有任务栏按钮?

发布于 2024-08-07 22:34:29 字数 132 浏览 7 评论 0原文

我想要一个普通的 JFrame 及其全部功能(装饰、标题、图标、调整大小、最小化、最大化等),唯一的一点是它不会出现在系统的任务栏中。

(通常,会有另一个程序打开和管理它们)。

是否可以 ?如果是,最好的方法是什么?

I would like to have a normal JFrame with its full functionalities (decoration, title, icon, resizing, minimizing, maximizing, etc.), with the only thing that it wouldn't appear in the system's taskbar.

(Typically, there would be another program opening and managing them).

Is it possible ? And if yes, what is the best way to do that ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

゛清羽墨安 2024-08-14 22:34:29

使用非模态 JDialog 而不是 JFrame

Use a non-modal JDialog instead of a JFrame.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文