Custom Action not picking the icon nor shortcut in menus #8767
Replies: 4 comments
-
Make sure your icons folder is inside src/main/resources/ so the path becomes icons/restart.png. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Why are you using
No, it doesn't. It sets Moving this into a discussion. These are usage questions, not an issue with the platform. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Apache NetBeans version
Apache NetBeans 27
What happened
As per all documentation I have found and in particular How do i add an icon to the context menu, The following action should show in the project context menu the icon and the shortcut. None are actually displayed as per the screenshot.
Language / Project Type / NetBeans Component
NetBeans Platform
How to reproduce
use the code above. I have attached a simple project too.
action.zip
Did this work correctly in an earlier version?
No / Don't know
Operating System
Linux Ubuntu
JDK
any
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
I can help debugging provided some directions
Are you willing to submit a pull request?
Yes
Beta Was this translation helpful? Give feedback.
All reactions