Replace deprecated JApplet with JRootPane.#1216
Merged
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom Sep 13, 2025
Merged
Replace deprecated JApplet with JRootPane.#1216ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
Conversation
3d74a11 to
85927c5
Compare
85927c5 to
3909c14
Compare
See https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4982522 > The problem is that Swing components (or any lightweight) will not > receive mouse events, if they are added directly to the Windows > embedded frame (WEmbeddedFrame). This problem only happens on Windows, > and it is possible to work around it by adding a java.awt.Panel > between them. The original solution was to choose a JApplet. But as the bug says, a JPanel can be sufficient. However, to avoid any issues when calling getRootPane() on the component, a JRootPane is used.
3909c14 to
a0f5530
Compare
Test Results 2 720 files 2 720 suites 9h 15m 13s ⏱️ Results for commit a0f5530. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4982522
The original solution was to choose a JApplet. But as the bug says, a JPanel can be used instead.