C
CyberSpiff
[already posted to comp.sys.mac.programmer.help - sorry, but I just
found this newsgroup as well]
First, let me apologize for my rookie questions and possible breach of
protocol, but I am a rank beginner at Macintosh coding. I've got quite a
few years of C coding experience, but never attempted Java or anything
object-oriented. I'm laid-up after surgery and to amuse myself and learn
I'm trying to write a simple Mac app using Cocoa and Java. I've started
with searching the net and newsgroups, but in this case I haven't found
a clear-cut example.
What I want to do is pre-load a pull-down menu with entries to allow
entering of dates and times. I've got the pull-downs setup in IB, but
can't figure out how to load the text values into them. For example, the
month pull-down should contain something like "Jan" in the top entry,
followed by "Feb", etc. Days should be "1", then "2", etc.
What I'm stuck at is finding a clear example of initializing the
pull-downs. It seems like an NSArray would do the trick, but I may be
missing the boat entirely. If someone has been through this can could
provide some direction, it would be greatly appreciated.
Thanks in advance...
found this newsgroup as well]
First, let me apologize for my rookie questions and possible breach of
protocol, but I am a rank beginner at Macintosh coding. I've got quite a
few years of C coding experience, but never attempted Java or anything
object-oriented. I'm laid-up after surgery and to amuse myself and learn
I'm trying to write a simple Mac app using Cocoa and Java. I've started
with searching the net and newsgroups, but in this case I haven't found
a clear-cut example.
What I want to do is pre-load a pull-down menu with entries to allow
entering of dates and times. I've got the pull-downs setup in IB, but
can't figure out how to load the text values into them. For example, the
month pull-down should contain something like "Jan" in the top entry,
followed by "Feb", etc. Days should be "1", then "2", etc.
What I'm stuck at is finding a clear example of initializing the
pull-downs. It seems like an NSArray would do the trick, but I may be
missing the boat entirely. If someone has been through this can could
provide some direction, it would be greatly appreciated.
Thanks in advance...