Skip to main content

Posts

Showing posts with the label to halt back screen

To halt background using Jdialog

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.