Sheets using Cocoa/Java
Sheets using Cocoa/Java
- Subject: Sheets using Cocoa/Java
- From: malcom <email@hidden>
- Date: Thu, 11 Jul 2002 23:03:02 +0200
Hi,
i need to open a window as a sheet. In my controller i have two NSWindow:
FinestraPrincipale
FinestraSheet
i have tried to insert (in my controller class):
NSApplication x = new NSApplication
...
public void ApriSheetConnessione....
x.beginSheet(FinestraSheet,FinestraPrincipale,null,null);
but nothing... the results it's:
2002-07-11 23:02:18.779 Tribe[989] *** Assertion failure in
-[NSApplication init], NSApplication.m:808
ObjCJava WARNING:
jobjc_jvm_newObject(): constructor with signature ()V on class
ApriSheetConnessione failed (should morph the java exception)
2002-07-11 23:02:18.797 Tribe[989] AppKitJava: uncaught exception
OBJCJava_RUNTIME_EXCEPTION ((null))
2002-07-11 23:02:18.797 Tribe[989] AppKitJava: exception = (null
description)
2002-07-11 23:02:18.798 Tribe[989] AppKitJava: terminating.
Tribe has exited with status 1.
anyone can help me?
Thx a lot,
bye
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.