Re: IKVM 8 AWT/Swing implementation issues
Jeroen Frijters <[email protected]> Tue, 7 Feb 2017 14:53:58 +0000
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <AM2PR08MB0051ECE721241A9476F64BEBA2430@AM2PR08MB0051.eurprd08.prod.outlook.com> |
--===============6108555661524038107== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_AM2PR08MB0051ECE721241A9476F64BEBA2430AM2PR08MB0051eurp_" --_000_AM2PR08MB0051ECE721241A9476F64BEBA2430AM2PR08MB0051eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 keyboar= d issue. Regards, Jeroen From: Dmitry Firsakov [mailto:[email protected]] Sent: Tuesday, February 7, 2017 15:23 To: [email protected] 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 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_AM2PR08MB0051ECE721241A9476F64BEBA2430AM2PR08MB0051eurp_ Content-Type: text/html; charset="us-ascii" 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 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Consolas; panose-1:2 11 6 9 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:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; font-size:11.0pt; font-family:"Calibri",sans-serif;} 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;} pre {mso-style-priority:99; mso-style-link:"HTML Preformatted Char"; margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} p.msonormal0, li.msonormal0, div.msonormal0 {mso-style-name:msonormal; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman",serif;} span.EmailStyle18 {mso-style-type:personal; font-family:"Calibri",sans-serif; color:windowtext;} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri",sans-serif; color:#1F497D;} span.HTMLPreformattedChar {mso-style-name:"HTML Preformatted Char"; mso-style-priority:99; mso-style-link:"HTML Preformatted"; font-family:Consolas;} span.EmailStyle22 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} 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-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal">Hi Dmitry,<o:p></o:p></p> <p class=3D"MsoNormal">Thanks. I committed your fix. I don’t know muc= h about the AWT/Swing stuff. Most of the work was done by Volker, maybe he = has an idea about the keyboard issue.<o:p></o:p></p> <p class=3D"MsoNormal">Regards,<br> Jeroen<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in = 4.0pt"> <div> <div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in = 0in 0in"> <p class=3D"MsoNormal" style=3D"margin-bottom:0in;margin-bottom:.0001pt;lin= e-height:normal"> <b>From:</b> Dmitry Firsakov [mailto:[email protected]] <= br> <b>Sent:</b> Tuesday, February 7, 2017 15:23<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Re: [Ikvm-developers] IKVM 8 AWT/Swing implementation issue= s<o:p></o:p></p> </div> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><span lang=3D"EN-GB">Hi Jeroen<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-GB">I think I found fix for issue (= 1) (See </span> <span style=3D"font-size:10.0pt;line-height:115%;font-family:"Tahoma&q= uot;,sans-serif;mso-fareast-language:EN-GB">31 January 2017 IKVM 8 AWT/Swin= g implementation issues</span><span lang=3D"EN-GB">)<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-GB">Can this be commited into IKVM = CVS ?<o:p></o:p></span></p> <p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto;line-height:normal"> <span lang=3D"EN-GB" style=3D"font-size:12.0pt;font-family:"Times New = Roman",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:0in;margin-bottom:.0001pt;lin= e-height:normal"> <span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier Ne= w";mso-fareast-language:EN-GB"><o:p> </o:p></span></p> <p class=3D"MsoNormal" style=3D"margin-bottom:0in;margin-bottom:.0001pt;lin= e-height:normal"> <span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier Ne= w";mso-fareast-language:EN-GB"> &nb= sp; // 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:0in;margin-bottom:.0001pt;lin= e-height:normal"> <span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier Ne= w";mso-fareast-language:EN-GB"> &nb= sp; // Component getNativeContainer() was chan= ged in 8.2 so it returns null for Window<o:p></o:p></span></p> <p class=3D"MsoNormal" style=3D"margin-bottom:0in;margin-bottom:.0001pt;lin= e-height:normal"> <span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier Ne= w";mso-fareast-language:EN-GB"> &nb= sp; // We have to use getParent() instead<o:p></o:p= ></span></p> <p class=3D"MsoNormal" style=3D"margin-bottom:0in;margin-bottom:.0001pt;lin= e-height:normal"> <span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier Ne= w";mso-fareast-language:EN-GB"> &nb= sp; //java.awt.Container parent =3D SunToolkit.getN= ativeContainer(target);<o:p></o:p></span></p> <p class=3D"MsoNormal" style=3D"margin-bottom:0in;margin-bottom:.0001pt;lin= e-height:normal"> <span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier Ne= w";mso-fareast-language:EN-GB"> &nb= sp; java.awt.Component parent =3D SunToolkit.= getHeavyweightComponent(target.getParent());<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-GB">Any ideas about issue (4) ̶= 0;Keyboard does not work in “Heavy weigh” popup” ?<o:p></= o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-GB">Best regards<o:p></o:p></span><= /p> <p class=3D"MsoNormal"><span lang=3D"EN-GB">Dmitry<o:p></o:p></span></p> <pre style=3D"line-height:11.9pt"><span lang=3D"EN-GB"> ___________________= ________________<o:p></o:p></span></pre> <pre style=3D"line-height:11.9pt"><span lang=3D"EN-GB"><o:p> </o:p></s= pan></pre> <pre style=3D"line-height:11.9pt"><span lang=3D"EN-GB">The integrity of thi= s message cannot be guaranteed on the internet. Therefore EXANE cannot be c= onsidered responsible for the contents.<o:p></o:p></span></pre> <pre style=3D"line-height:11.9pt"><span lang=3D"EN-GB">If you are not the i= ntended recipient of this message, please delete it and notify the sender.<= o:p></o:p></span></pre> <pre style=3D"line-height:11.9pt"><span lang=3D"EN-GB"><o:p> </o:p></s= pan></pre> <pre style=3D"line-height:11.9pt"><span lang=3D"EN-GB">This message is prov= ided for information purposes only and should not be construed as a solicit= ation or offer to buy or sell any securities or related financial instrumen= ts.<o:p></o:p></span></pre> <pre style=3D"line-height:11.9pt"><span lang=3D"EN-GB">Although it may cont= ain some elements from publications produced by Exane's research department= , this message is not research.<o:p></o:p></span></pre> <pre style=3D"line-height:11.9pt"><span lang=3D"EN-GB">Please consult our w= eb site for important disclaimers and disclosures concerning Exane's resear= ch. (<a href=3D"http://www.exane.com">http://www.exane.com</a>)<o:p></o:p><= /span></pre> <pre style=3D"line-height:11.9pt"><span lang=3D"EN-GB"> ___________________= ________________<o:p></o:p></span></pre> </div> </div> </body> </html> --_000_AM2PR08MB0051ECE721241A9476F64BEBA2430AM2PR08MB0051eurp_-- --===============6108555661524038107== 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 --===============6108555661524038107== 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 --===============6108555661524038107==--