I'm trying to implement a popup similar to the way Xcode and BBEdit
do in the control bar above the editing area in their windows, what
Interface Builder calls a Pop Up Button Cell. This would be a
"small" JComboBox but with the color removed from behind the up/down
arrows. Is there a way to do this?
Thanks for any suggestions.
You can use a vertically constrained "small" or "mini" "segmented"
control set to the "middle" segment. Please see the "Segmented button
style" section of TN2196 (http://developer.apple.com/technotes/tn2007/tn2196.html
), for more information. The "small" and "mini" size variants work on
most of the segmented and non-segmented button styles.
You will probably have to provide your own art for the double-headed
popup indicator arrow though. This is probably something we should
expose in NSImage.h - please file a bug if you would like this.
Thanks,
Mike Swingler
Java Frameworks Engineer
Apple Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden