Technical: Java
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Title



Previous Section Table of Contents Next Section



Step 7 - Building the Close Box Button

The CloseBoxButton class extends the RolloverButton class. It implements a button that behaves like a simple rectangular close box in the upper left-hand corner of the controller floating palette.

As we have done before, close the PlayPauseButton folder and open the CloseBoxButton Source Clipping folder. Open the CloseBoxButton.java from the Project window before proceeding to the next set of steps in the section Building the Close Box Button.


Back to top


Step 8 - Building the Controller

The controller class is a floating palette that contains the controller buttons (forward, backward, and play/pause buttons), as well as the close box button.

Once again, close any open source files and open the Controller.java skeleton file. Open the Controller Source Clipping folder in the Finder.

After completing this step, proceed to the steps in the section Building the Controller.


Back to top

Step 9 - Building the Slide Show

The SlideShow class is the main application implementation file. It provides all of the user interface features, such as menus and windows typical of an application, and ties together all of our other classes into a cohesive unit.

Before proceeding to the steps for the SlideShow, close any open source files, and open the SlideShow.java source file and the SlideShow Source Clipping folder in the Finder. Once again, you may need to resize or reposition your windows to make optimal use of your screen real estate. Once this preparation is completed, proceed to the steps in the section Building the SlideShow Application.


Back to top

Step 10 - Building the Image Name Filter

The ImageNameFilter class is used by the SlideShow class to filter files displayed in the open file dialog box.

As we have done before, close the SlideShow folder and open the ImageNameFilter Source Clipping folder. Open the ImageNameFilter.java from the Project window before proceeding to the next steps in the section Building the Image Name Filter.


Back to top




Previous Section Table of Contents Next Section



[an error occurred while processing this directive]