Dialog Boxes

Java AWT FileDialog Open Save

The FileDialog class provides a File Open or Save dialog box enabling us to access the local file system. The FileDialog class of Java is OS dependent and calls operating system's specific Open File dialog box or Save dialog box. The advantage of this is that the users of Java…

Java AWT Dialog Modal Modeless

Dialog boxes are pop-up windows on the screen that appear for a small time to take either input or display output while a main application is running. The windows that appear for a brief time are known as transient windows. Dialog boxes are generally used to draw special attention of…