Unexpected Exception while checking code

2024-01-08 Thread Martin Edge
Morning All I am using Netbeans 20 on Linux mint and am getting an intermitten class cast exception. Occasionally a class (usually a new one, but not always) won't do the code check/completion thing I am so used to. It is annoying, but isn't a show stopper as I can still work. Might already

Re: NetBeans Platform Application - Set Position of Menu Within the Menu Bar

2024-01-08 Thread Charles Rivenbark
Thanks, that worked. I wanted it to be a Module specific menu since the users can disable the module and I didn't want the menu to display if the module was disabled. I just put the XML in the Modules layer.xml file and it worked fine. On Mon, Jan 8, 2024 at 1:10 PM Charles Rivenbark wrote:

Re: NetBeans Platform Application - Set Position of Menu Within the Menu Bar

2024-01-08 Thread Charles Rivenbark
Thanks, that worked. I wanted it to be a Module specific menu since the users can disable n't want the menu to display if the module was disabled. I just put the XML in the Modules layer.xml file and it worked fine. On Mon, Jan 8, 2024 at 11:04 AM Eirik Bakke wrote: > You can do do something

RE: NetBeans Platform Application - Set Position of Menu Within the Menu Bar

2024-01-08 Thread Eirik Bakke
You can do do something like this from your branding module's layer.xml file: You can also expand the layer.xml file from within NetBeans and see "this layer in context", then right-click an existing menu item and click Go to Declaration to see the position of the other menus

NetBeans Platform Application - Set Position of Menu Within the Menu Bar

2024-01-08 Thread Charles Rivenbark
I am using NetBeans IDE 20 and have a Maven project that has numerous TopComponent windows. I want to set the position on the menu bar where the module menu appears. By default the Admin menu shows at the far left on the menu bar but I want it just past the Edit menu. The TopComponent code is as