Re: IKVM 8 AWT/Swing implementation issues
Dmitry Firsakov <[email protected]> Tue, 7 Feb 2017 14:22:51 +0000
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============2635133310811336226==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_d05f644b5fc141298d9e769895010bbeSPWEXCH103adexanecom_"
--_000_d05f644b5fc141298d9e769895010bbeSPWEXCH103adexanecom_
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Hi Jeroen
I think I found fix for issue (1) (See 31 January 2017 IKVM 8 AWT/Swing imp=
lementation 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 retu=
rns null for Window
// We have to use getParent() instead
//java.awt.Container parent =3D SunToolkit.getNativeContainer(t=
arget);
java.awt.Component parent =3D SunToolkit.getHeavyweightCompone=
nt(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. Therefo=
re 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 co=
nstrued 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 conce=
rning Exane's research. (http://www.exane.com)
___________________________________
--_000_d05f644b5fc141298d9e769895010bbeSPWEXCH103adexanecom_
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:0cm;
margin-right:0cm;
margin-bottom:10.0pt;
margin-left:0cm;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-GB" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi Jeroen<o:p></o:p></p>
<p class=3D"MsoNormal">I think I found fix for issue (1) (See <span lang=3D=
"EN-US" style=3D"font-size:10.0pt;line-height:115%;font-family:"Tahoma=
","sans-serif";mso-fareast-language:EN-GB">
31 January 2017 IKVM 8 AWT/Swing implementation issues</span>)<o:p></o:p></=
p>
<p class=3D"MsoNormal">Can this be commited into IKVM CVS ?<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;line-height:normal">
<span style=3D"font-size:12.0pt;font-family:"Times New Roman",&qu=
ot;serif";mso-fareast-language:EN-GB">Fix in toolkit-0.95.cs<o:p></o:p=
></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:0cm;margin-bottom:.0001pt;lin=
e-height:normal">
<span style=3D"font-size:10.0pt;font-family:"Courier New";mso-far=
east-language:EN-GB"><o:p> </o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:0cm;margin-bottom:.0001pt;lin=
e-height:normal">
<span style=3D"font-size:10.0pt;font-family:"Courier New";mso-far=
east-language:EN-GB"> =
// A window has an owner, but it does NOT have a container.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:0cm;margin-bottom:.0001pt;lin=
e-height:normal">
<span style=3D"font-size:10.0pt;font-family:"Courier New";mso-far=
east-language:EN-GB"> =
// Component getNativeContainer() was changed in 8.2 so i=
t returns null for Window<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:0cm;margin-bottom:.0001pt;lin=
e-height:normal">
<span style=3D"font-size:10.0pt;font-family:"Courier New";mso-far=
east-language:EN-GB"> =
// We have to use getParent() instead<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:0cm;margin-bottom:.0001pt;lin=
e-height:normal">
<span style=3D"font-size:10.0pt;font-family:"Courier New";mso-far=
east-language:EN-GB"> =
//java.awt.Container parent =3D SunToolkit.getNativeContainer(=
target);<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:0cm;margin-bottom:.0001pt;lin=
e-height:normal">
<span style=3D"font-size:10.0pt;font-family:"Courier New";mso-far=
east-language:EN-GB"> =
java.awt.Component parent =3D SunToolkit.getHeavyweightC=
omponent(target.getParent());<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Any ideas about issue (4) “Keyboard does not w=
ork in “Heavy weigh” popup” ?<o:p></o:p></p>
<p class=3D"MsoNormal">Best regards<o:p></o:p></p>
<p class=3D"MsoNormal">Dmitry<o:p></o:p></p>
</div>
<pre style=3D"line-height: 15.86px;"> ___________________________________
The integrity of this message cannot be guaranteed on the internet. Therefo=
re 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 co=
nstrued 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 conce=
rning Exane's research. (http://www.exane.com)
___________________________________</pre></body>
</html>
--_000_d05f644b5fc141298d9e769895010bbeSPWEXCH103adexanecom_--
--===============2635133310811336226==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============2635133310811336226==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
--===============2635133310811336226==--