JOptionPane.showConfirmDialog
ディスプレイに使ってもJInternalFrame
いいですか?
次のコードを試しました:
OPD.Registration opdRegister = new OPD.Registration();
//OPD.Registration is extending JInternalFrame
int ns=JOptionPane.showConfirmDialog(null, opdRegister, "Billing", JOptionPane.OK_CANCEL_OPTION,JOptionPane.PLAIN_MESSAGE);
// i am trying to call opdregister in this Confirm Dialog Box.
ダイアログボックスを表示する上記のコードを使用するとJInternalFrame
、適切に表示されません。タイトルバーのみ表示します。他のデータは から切り出されますJInternalFrame
。
このダイアログのサイズを大きくするにはどうすればよいですか?