| Sign In/My Account | View Cart |
| Article: |
Working With Bitmap Images; Document-Based Application Redux | |
| Subject: | Converting to Cocoa-java | |
| Date: | 2002-06-27 12:34:56 | |
| From: | arosen | |
|
Hi, Although the tutorial is in Objective-C, I tried to follow the tutorial using java instead. I hope someone can help me out. Two problems have evolved and I'm not sure if the second one is related to the first. Problem 1: In Interface Builder, I want to add the action changeScale to IAWindowController. However, when I type it in, it's replaced by the message "<invlaid number of arguments>".Any other similar method name works(eg changeScales,etc). I see a similar problem when creating IAImageView. In this case I don't add any new actions, but when I change the file type from Obj-c to Java, the first method listed in the actions (which is inherited from NSImageView and therefore cannot be changed) turns into the same message I mentioned before.
|
||