Skip to main content

Posts

Showing posts from October, 2011

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.

No output in codeblocks

If you are able to build your cpp/c file but not able to run using codeblocks, then your system lacks the presence of MinGW. Download MinGW from sourceforge.net and after a restart you'll be able to run your c/cpp program.