[英]can I change the focus between my two JDialog?
所以。 我有一個 MainScreen 從我的 MainScreen 擴展 javax.swing.JFrame 我打開一個 JDialog
Logout logout = new Logout(this,true,utilajx,user1);
logout.setVisible(true);
然后從我的 JDialog 我將打開另一個 JDialog 並且我想將焦點設置到它。:
dlg = new DialogVirtualKeyboardReal(mainScreen, false, codArticol);
dlg.setLocaleL(Locale.ENGLISH);
如果我將模態參數更改為 true,它會按我想要的方式工作。 謝謝你-1。
lg = new DialogVirtualKeyboardReal(mainScreen, true, codArticol);
dlg.setLocaleL(Locale.ENGLISH);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.