Show/Hide a control in the Anchored Menu #495
-
Is there a way to set the visibility of a control in the anchored menu. Currently I am clearing the icon and text when I don't want the control visible. That almost works in that you can't see it, but you can still click on it if you know where to look. |
Beta Was this translation helpful? Give feedback.
Answered by
kirill-grouchnikov
Nov 25, 2024
Replies: 1 comment 7 replies
-
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Swing doesn't really do "hide". There is no
Container.hide
for example. To stay consistent with Swing container APIs, and to address this specific case, I can addJRibbon.addAnchoredCommand(CommandButtonProjection projection, int index)
.