-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebDockableFrame doesn't show AWT components #528
Comments
I'll test this tomorrow, but for now - |
I put a webpanel as content in which there were awt components. |
Thanks, i'll try it. |
I found the problem and it seem to be consistent with all AWT components - they cannot be displayed under any other Swing component, transparent or not. Which in case of the I usually do not have any hidden glass layers on components, but in case of Unfortunately I haven't found any possible solution for that issue with AWT components, will see if I can find anything on it on the net. |
- ProprietaryUtils.java - Added `enableMixingCutoutShape(Component)` method to workaround shape mixing for opaque/heavyweight components - DockablePaneGlassLayer.java - Now properly uses shape cutout mode to avoid issues wih opaque/heavyweight components
Well, I managed to find a wild workaround that Swing uses for its own glass pane. It's not really a public API so I've added new method to I can't really do much about Swing components intersecting with AWT ones (for instance a tooltip or a menu) - they will still hide parts of AWT components while positioned on top of them, but AWT components will not be permanently hidden anymore. New v1.2.10 snapshot build will soon be available with the added changes and the final v1.2.10 update will most probably be available this Friday or Saturday. |
WebDockableFrame doesn't show AWT elements like Label and GLCanvas (from JOGL)
The text was updated successfully, but these errors were encountered: