Discussion:
[Ikvm-developers] IKVM 8 AWT/Swing implementation issues
Dmitry Firsakov
2017-02-07 14:22:51 UTC
Permalink
Hi Jeroen
I think I found fix for issue (1) (See 31 January 2017 IKVM 8 AWT/Swing implementation issues)
Can this be commited into IKVM CVS ?
Fix in toolkit-0.95.cs

// A window has an owner, but it does NOT have a container.
// Component getNativeContainer() was changed in 8.2 so it returns null for Window
// We have to use getParent() instead
//java.awt.Container parent = SunToolkit.getNativeContainer(target);
java.awt.Component parent = SunToolkit.getHeavyweightComponent(target.getParent());

Any ideas about issue (4) "Keyboard does not work in "Heavy weigh" popup" ?
Best regards
Dmitry
___________________________________

The integrity of this message cannot be guaranteed on the internet. Therefore EXANE cannot be considered responsible for the contents.
If you are not the intended recipient of this message, please delete it and notify the sender.

This message is provided for information purposes only and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.
Although it may contain some elements from publications produced by Exane's research department, this message is not research.
Please consult our web site for important disclaimers and disclosures concerning Exane's research. (http://www.exane.com)
___________________________________
Volker Berlin
2017-02-07 14:59:26 UTC
Permalink
No, I have no idea. The window control in Swing is very complicated.

Volker
Hi Dmitry,
Thanks. I committed your fix. I don’t know much about the AWT/Swing
stuff. Most of the work was done by Volker, maybe he has an idea about
the keyboard issue.
Regards,
Jeroen
*Sent:* Tuesday, February 7, 2017 15:23
*Subject:* Re: [Ikvm-developers] IKVM 8 AWT/Swing implementation issues
Hi Jeroen
I think I found fix for issue (1) (See 31 January 2017 IKVM 8
AWT/Swing implementation issues)
Can this be commited into IKVM CVS ?
Fix in toolkit-0.95.cs
// A window has an owner, but it does NOT have a container.
// Component getNativeContainer() was changed in 8.2 so it
returns null for Window
// We have to use getParent() instead
//java.awt.Container parent =
SunToolkit.getNativeContainer(target);
java.awt.Component parent =
SunToolkit.getHeavyweightComponent(target.getParent());
Any ideas about issue (4) “Keyboard does not work in “Heavy weigh”
popup” ?
Best regards
Dmitry
___________________________________
The integrity of this message cannot be guaranteed on the internet.
Therefore EXANE cannot be considered responsible for the contents.
If you are not the intended recipient of this message, please delete
it and notify the sender.
This message is provided for information purposes only and should not
be construed as a solicitation or offer to buy or sell any securities
or related financial instruments.
Although it may contain some elements from publications produced by
Exane's research department, this message is not research.
Please consult our web site for important disclaimers and disclosures
concerning Exane's research. (http://www.exane.com)
___________________________________
Loading...