You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kent Tong (freemant) said:
Yeah, it is definitely incorrect. The core of the issue may be that JMenu is not really a JComponent container but Scala treats it so. To work around it, use the peer:
The following code prints 0, the length of the menu's contents field, but it should be 1. It is also impossible to access the elements in contents.
It is interesting to note, however, that if the menu was to be shown, it would indeed have the item "foobar" in it.
The text was updated successfully, but these errors were encountered: