To make background screen or main canvas inactive or non-clickable,
add the property of modality to dialog box.
Set the feature using jdialog.setmodal(true).
Now, the screen will halt at the point when this line is encountered. So, will ask for input from user.
Exploiting the feature of madal dialog box, previous screen can be hold on.
add the property of modality to dialog box.
Set the feature using jdialog.setmodal(true).
Now, the screen will halt at the point when this line is encountered. So, will ask for input from user.
Exploiting the feature of madal dialog box, previous screen can be hold on.
Comments
Post a Comment