Cocoa sheets using Java
Cocoa sheets using Java
- Subject: Cocoa sheets using Java
- From: k barnd <email@hidden>
- Date: Fri, 9 Nov 2001 14:02:00 -0800 (PST)
i am trying to get a sheet to come up, but when i
press the button assigned to the beginSheet action i
get a java.lang.NullPointerException. i have found
code examples in obj c, but i have not found any in
java. according to the documentation this is how
interpret what the code should be:
NSApplication app;
app.beginSheet(mySheet, mainWindow, mySheet, null,
null);
can someone tell me what is wrong with this code?
Kevin
Find a job, post your resume.
http://careers.yahoo.com