[英]can I change the focus between my two JDialog?
So.所以。 I have a MainScreen extends javax.swing.JFrame from my MainScreen i open a JDialog
我有一个 MainScreen 从我的 MainScreen 扩展 javax.swing.JFrame 我打开一个 JDialog
Logout logout = new Logout(this,true,utilajx,user1);
logout.setVisible(true);
then from my JDialog I will open an other JDialog and I Want to set the focus to it.:然后从我的 JDialog 我将打开另一个 JDialog 并且我想将焦点设置到它。:
dlg = new DialogVirtualKeyboardReal(mainScreen, false, codArticol);
dlg.setLocaleL(Locale.ENGLISH);
this is how it looks like, I want to make my keyboard in focus but i can't这就是它的样子,我想让我的键盘聚焦,但我不能
if I change the modal parameter to true it works how i want.如果我将模态参数更改为 true,它会按我想要的方式工作。 Thank you for -1.
谢谢你-1。
lg = new DialogVirtualKeyboardReal(mainScreen, true, codArticol);
dlg.setLocaleL(Locale.ENGLISH);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.