Re: Can't get NSToolbar to work
Re: Can't get NSToolbar to work
- Subject: Re: Can't get NSToolbar to work
- From: Markus Hanauska <email@hidden>
- Date: Fri, 13 Jun 2003 14:00:47 +0200
Am Freitag, 13.06.03 um 13:45 Uhr schrieb Marco Binder:
I dont know the details of the java-implementation of toolbars (are
all constructors you use valid?). but why not have a look at
/Developer/Examples/Java/AppKit/SimpleToolbar on your HD, which is
nothing but an example of how to use NSToolbar in a cocoa Java
application.
Oh, I already found the mistake in my code
toolbarDefaultItemIdentifiers and toolbarAllowedItemIdentifiers both
expect an array of STRINGs to be returned (just the names of the
items), not an array of NSToolbarItems (not the items themselves).
Apple's Docu could have said that an array of Strings is expected
(which would be much more obvious than speaking about "identifiers").
And another problem solved, thanks!
--
Best Regards,
Markus Hanauska
_______________________________________________
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.