• 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: How to fill information to NSComboBox when window loads?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to fill information to NSComboBox when window loads?


  • Subject: Re: How to fill information to NSComboBox when window loads?
  • From: Chris Hanson <email@hidden>
  • Date: Thu, 13 Oct 2005 23:42:42 -0700

On Oct 13, 2005, at 10:22 PM, MP 09 wrote:

I have a window and NSComboBox control on it. I want to fill information in
that when window view or load. I am using java and cocoa.
I created a nib file which contain window and controller code in java. I
though to write fill method in constructor, but it throw run time error as
controls are not initialized yet. Is there any method which i can use to
load that?

When a nib file is loaded, all of the objects in it are unarchived or instantiated and connected together. Then all of the objects in the nib, as well as the object specified as the nib's owner, are sent - awakeFromNib. This is an appropriate place for any additional interface set-up work.


  -- Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to fill information to NSComboBox when window loads?
      • From: MP 09 <email@hidden>
References: 
 >How to fill information to NSComboBox when window loads? (From: MP 09 <email@hidden>)

  • Prev by Date: Re: Problem displaying accented characters in NSTextView
  • Next by Date: Re: How to fill information to NSComboBox when window loads?
  • Previous by thread: How to fill information to NSComboBox when window loads?
  • Next by thread: Re: How to fill information to NSComboBox when window loads?
  • Index(es):
    • Date
    • Thread