Copyright ©1998 by AAA+ Software Forschungs- und Entwicklungs Ges.m.b.H. All Rights Reserved.
1 Getting started with Joy
This short section explains how to get started using Joy inside InterfaceBuilder.
Joy with InterfaceBuilderThe ideal place for getting to know the Yellow Box API is InterfaceBuilder. In InterfaceBuilder you can see the various user interface elements in the different palettes. You can build your own interface consisting of these objects, and you can test your interface without the need to compile your application. You can also connect an object with another object's action or outlet, which allows your interface elements perform some basic interactions - still without any coding or compiling. However, if you want to test some more complex interactions, without Joy you have to create your own controller class and define its actions and outlets, connect it with the interface elements, code the actions, compile and link the application to see if it really works. Though InterfaceBuilder and ProjectManager simplify this work considerably, it is still a little tiresome, especially for someone who is new to the API and does a lot of experimenting.With Joy, you can interactively explore the Yellow Box API right inside InterfaceBuilder without compiling. You can even write full applications with Joy. The Joy paletteYou can load the Joy palette for the first time into InterfaceBuilder with the Open... command in the Palettes submenu in InterfaceBuilder's Tools menu. It can be found in %NEXT_ROOT%\Local\Library\Joy\Joy.palette, where %NEXT_ROOT% is the path of your Yellow Box installation (e.g. C:\Apple). If you have not licensed Joy, an alert panel will come up. Click on Continue. The Joy License window comes up. If you have a valid Joy Explorer or Joy Developer license number or if you have already received a key click on Enter key to enter your license number or key. If you want to receive an evaluation key, click on Request free key. If you do not enter a key, you can use Joy Explorer in demo mode - it is fully functional but the alert panel will reappear periodically.From now on Joy will be loaded every time you start InterfaceBuilder.app because InterfaceBuilder remembers which palettes were previously loaded.
The next section explains how you can use the Joy palette to explore the Yellow Box API. |