• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa sheets using Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Cocoa sheets using Java
      • From: "Nathan V. Roberts" <email@hidden>
    • Re: Cocoa sheets using Java
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: F12 and CD-RW open/close
  • Next by Date: Re: Cocoa sheets using Java
  • Previous by thread: Re: cocoa sheets
  • Next by thread: Re: Cocoa sheets using Java
  • Index(es):
    • Date
    • Thread