09-22-2010 05:30 PM
I beleive the system will place separators in for large breaks in the ordinal values.
<-------------- system would put a break here
Don't take my word for this, I'm going by memory - you'll have to test it out.
09-22-2010 05:48 PM
Go ahead and take his word for it. From the Javadocs for the MenuItem class:
"Each item has an ordinal specifying the sort order within the menu. A separator will be automatically inserted between adjacent items whose ordinals differ by at least 0x00010000."
Works for ApplicationMenuItem, too, although it doesn't say so.
This is one of those subjects that has come up before, but is hard to search for.
09-22-2010 05:55 PM
I really thank you both...
It just seems like this kind of info should be in the javadoc or perhaps they could have added a addSeparator()?
Will give this a try...