• 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
Re: Can't get NSToolbar to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Can't get NSToolbar to work
      • From: Marco Binder <email@hidden>
References: 
 >Re: Can't get NSToolbar to work (From: Marco Binder <email@hidden>)

  • Prev by Date: Re: Can't get NSToolbar to work
  • Next by Date: Dictionary or Array?
  • Previous by thread: Re: Can't get NSToolbar to work
  • Next by thread: Re: Can't get NSToolbar to work
  • Index(es):
    • Date
    • Thread