I currently have this command line which is executed at button click from calling form. new Form().setVisible(true); What I need is to still be able to access features of the calling form without it coming to the front or sending back the active form.
Suppose I call form2 then while is running I want to click on 'view' from form1 without form1 coming to the front.
Try using:
frame1.setFocusableWindowState( false );
when you create the frame.
The frame may still come to the front, but it won't retain focus.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.