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

Title



Previous Section Table of Contents Next Section



Summary

We’ve covered a lot of ground here. First, we talked a little bit about our application and configured our project correctly. We are building an application, so we needed to specify “Application” as the project type and set the output format to use the “.jar” format. Once our project was set up, we jumped right into the implementation of our classes.

We started out with the AboutBox, and then moved on to our button classes, which are a classic example of good object-oriented programming methodology. We built broad low-level functionality into the base class and then derived a series of subsequent classes which successively refined the underlying classes.

Next, we implemented the Controller class which demonstrated event handling and creating and managing floating windows. Finally, we implemented the Application class where we learned about threads, menu management, and special MRJ handlers.

Once we built our .jar file, we used JBindery to create a double-clickable Macintosh application.

Back to top



Previous Section Table of Contents Next Section



[an error occurred while processing this directive]