ftp.nice.ch/pub/next/database/apps/Stopwatch.2.5.s.tar.gz#/Stopwatch2.5/InfoPanel.m

This is InfoPanel.m in view mode; [Download] [Up]

/*
 * Info Panel support for Stopwatch app.
 *
 * For legal stuff see the file COPYRIGHT
 */
#import "InfoPanel.h"

#define	VERSION	"2.5"


@implementation InfoPanel

static id Info;

+ new
{
  if ( Info == nil ) {
    Info = [[InfoPanel alloc] init];
    [NXApp loadNibSection:"infoPanel.nib" owner:Info];
  }
  return Info;
}

- awakeFromNib
{
  [versionField setStringValue:VERSION];
  return self;
}

- showInfo
{
  [panel orderFront:nil];
  return self;
}

- showLegal:sender
{
  [legalPanel orderFront:nil];
  return self;
}

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.