home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.0
/
NeXTSTEP3.0.iso
/
NextDeveloper
/
Examples
/
AppKit
/
Lines
/
MyApp.m
< prev
next >
Wrap
Text File
|
1992-02-09
|
631b
|
29 lines
/*
* MyApp.m, subclass of Application for doing some central stuff...
* Author: Ali Ozer
* Written October 1990; last updated Feb 1992.
*
* You may freely copy, distribute and reuse the code in this example.
* NeXT disclaims any warranty of any kind, expressed or implied,
* as to its fitness for any particular use.
*/
#import <appkit/appkit.h>
#import "MyApp.h"
@implementation MyApp
// Method to load the .nib file for the info panel.
- displayInfoPanel:sender
{
if (!infoPanel) {
[NXApp loadNibSection:"InfoPanel.nib" owner:self];
}
[infoPanel makeKeyAndOrderFront:NULL];
return self;
}
@end