-
Notifications
You must be signed in to change notification settings - Fork 48
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
Implemented DesktopPane and InternalFrame #120
Conversation
9683ef4
to
086cd35
Compare
086cd35
to
827e393
Compare
Thank you! I will only be able to review this in the first week of June. If someone else wants to go ahead, please do so. Please remind me if I don't follow up on this. |
Anyone had a chance to look at this yet? |
Hi Richard, rest assured I want to ensure your contribution makes it into
ScalaSwing. I'd like to wait for @Sciss to review as (unlike myself) he's
an active ScalaSwing user and will likely do a better review. He said early
June so let's give him some time. But if that doesn't happen I'll ensure it
gets merged.
…On Thu, Jun 4, 2020 at 4:38 AM Richard W. Eggert II < ***@***.***> wrote:
Anyone had a chance to look at this yet?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAXJZEWDIOQHBU2OUP4AZLRU2KA7ANCNFSM4M3QANBA>
.
|
Thanks for your contribution, and for your patience. I had a brief look, in general it looks good. Of course one question would be if there is a common interface to Frame and InternalFrame, which could fix a design mistake (IMO) in Java Swing; but this could be also added at a later point. The Apart from this change, I would be happy to merge. If a second pair of eyes is available, it would be great, but at least from cursory examination, I cannot see any issues. |
Another question is if you have already signed the CLA? (See #51 (comment)). To avoid future problems, we require this from any first time contributor. |
CLA signed. |
I've converted |
6fdfcc6
to
2f29aad
Compare
Last (force) push was just tweaks to the wording of the |
This feature adds support for
JDesktopPane
andJInternalFrame
, as well as the latter's event hierarchy, to resolve #119 .I branched directly off the
v2.1.1
tag to allow it to be applied as a patch for the latest release. I can rebase ontowork
if necessary, though, but there should be no conflicts either way.I tried to follow the conventions used by
Window
/RichWindow
/Frame
as much as possible, and avoided implementing wrappers for any parts of the Swing API that were documented as not intended for use by applications. It's possible that I may have neglected to implement some obscure feature, but I think I've covered all the likely use cases.I originally implemented this within and tested it with a separate project that I am working on, and everything I tried out seems to be working.
Note that
JInternalFrame
does not extend the AWTWindow
class, so there was no way (that I could see) to integrateInternalFrame
directly into theWindow
/RichWindow
hierarchy.