making a modal JInternalFrame(制作模态 JInternalFrame)
问题描述
我需要在 MDI JFrame 中从用户那里获取大量数据(文件选择、文本、日期等).
我需要作为 JInternalFrame 的输入表单是模态的.
如何制作 JInternalFrame 模态框?
I need to get lots of data (file select , text, date ,...) from user in a MDI JFrame.
I need the input form that is a JInternalFrame be modal.
How Can I make a JInternalFrame modal?
推荐答案
根据我的经验,我从来没有设法使 JInternalFrame 模态化,我认为这不可能开箱即用.
From my experience, I have never managed to make JInternalFrame modal and don't think that is possible out of the box.
请参阅 这篇关于 JInternalFrame 使它们成为模态的(感谢 Steve Webb).
See this great article on an extension to JInternalFrame to make them modal (thanks to Steve Webb).
这篇关于制作模态 JInternalFrame的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:制作模态 JInternalFrame
基础教程推荐
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 大摇大摆的枚举 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 多个组件的复杂布局 2022-01-01
