Repository navigation
Custom Action not picking the icon nor shortcut in menus #8767
Unanswered
stefanofornari
asked this question in
Q&A
Replies: 4 comments
|
Make sure your icons folder is inside src/main/resources/ so the path becomes icons/restart.png. |
0 replies
|
Hi, |
0 replies
|
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

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
All reactions