An Exercise for You. The Image Loader Application

Task: Write an Image Loader Application as shown in Figure 12.31, “The Image Loader Application”. The Toolbar should have two functions, Load Image and Close all Images. The Load Image should call up a file chooser as shown in Figure 12.32, “The Image Loader Application (with File Chooser open)”. The internal windows should display the name of the file, the image size and the size of the file from which it was loaded. The internal windows should be minimizable, maximizable, closable and iconifable. The main window should have a status label that displays details of the application as it runs. You can use my file icon if you wish - load.gif. Finally when the close all button is pressed the application should prompt the user to see if this is correct as in Figure 12.33, “The Image Loader Application (with confirm on close)”.

Figure 12.31. The Image Loader Application

The Image Loader Application

Figure 12.32. The Image Loader Application (with File Chooser open)

The Image Loader Application (with File Chooser open)

Figure 12.33. The Image Loader Application (with confirm on close)

The Image Loader Application (with confirm on close)