Comments (8)
I forgot to mention, select the "open my open/pending" and click sign-on button on the login box to bring up two demonstration windows.
from nsmenufx.
Thanks for the report! NSMenuFX was actually considering Panes only as eligible for having a menu bar but it should work for Groups too. I've pushed the respective changes, and tested it with your sample code. I'll however try if i can piggyback some other minor fixes to the next maven release.
from nsmenufx.
I have tried some work-around ideas. I called MenuBarUtils.setMenuBar(stage, bar)
when showing a new stage, and was surprised that didn't work. I refactored the demonstration code to use primaryStage for first 'ticket' window as well as the login window, but that only got the menu bar for that window only, opening up new stages/windows still did not have the menu bar.
from nsmenufx.
from nsmenufx.
So you've tried the latest sources from
master
with the sample from above and it didn't work?
Oops! Sorry, but I drafted that comment before I got your update, I haven't tried the new code yet. I expect your changes will work fine if they worked in the demo program. I'll let you know otherwise.
from nsmenufx.
Confirmed: The new sources from master fixes the issue in my projects. Thanks for the quick response on this report!
from nsmenufx.
from nsmenufx.
Pushed an update to maven central
from nsmenufx.
Related Issues (20)
- Document how to fall back to normal Java/Win/Linux menus HOT 4
- Create CHANGELOG or release notes HOT 2
- Support for Windowless menu bar HOT 4
- Any way to change the icon that displays in "About"? HOT 3
- LabelMaker.getResourceName() returns wrong file name. HOT 1
- child window cancel close of main window HOT 10
- de.codecentric.centerdevice.dialogs.about.AboutController not found HOT 2
- NPE when new stage calls show() HOT 5
- NSMenuFX always crash in mac os sierra 10.12.4 HOT 2
- Unable to cancel application closing using Cmd+q HOT 3
- Java 9 Issue HOT 8
- IllegalAccessError on OpenJFX 11 HOT 16
- Remove dependency on 'javafx.web' module. HOT 10
- Use of MethodHandles incompatible with GraalVM native-image
- Global menubar reset on any window change
- Create NSMenuFX 3.0 for JDK 11+ HOT 10
- NPE Input stream must not be null on MacOS Big Sur beta HOT 10
- MenuToolkit returns null under MacOSX HOT 5
- Issue while using SHORTCUT in the main applicaton menu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nsmenufx.