java - Disable JFrame when a new JFrame is opened -


i trying disable "main" jframe when new frame pops up. want can not click or drag on frame. tried making new frame jdialog, did not disable other frame. looked @ other post this, suggested make jdialog still not work. need doing please. thanks. codeii using make jdialog, problems it?

editdialog=new jdialog(introscreen.frame); 

introscreen.frame represents "main" frame.

you have set jdialog#setmodal or jdialog#modalitytypes, maybe dialog.modalitytype application_modal


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -