OverLoad Constructor in multiple nibs (java-cocoa)
OverLoad Constructor in multiple nibs (java-cocoa)
- Subject: OverLoad Constructor in multiple nibs (java-cocoa)
- From: email@hidden
- Date: Sun, 23 Sep 2001 18:30:35 +0200
Hello,
I got a strange problem in my application. I've a main window with its
MainController and other window with its WindowController. When I
instantiate this class with new WindowController() and then
showWindow(), everythings work fine.
But if I overload the constructor, for example new
WindowController(String s) I get this message :
NSInvalidArgumentException: _BRIDGEUnmappedInitMethodImp: the java class
ActorController does not implement any constructor that maps to the
Objective C method init.
at com.apple.cocoa.application.NSWindowController.showWindow(Native
Method)
at MainController.autreFenetre(MainController.java:28)
What I'm making wrong ?
Thanks for help,
olivier