Re: screen location and graphics configuration issues

Jeroen Frijters <[email protected]>
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hi Maria,

Thank you! I committed these fixes to cvs.

Regards,
Jeroen

> -----Original Message-----
> From: Maria Papendieck [mailto:[email protected]]
> Sent: Monday, November 17, 2014 9:55
> To: [email protected]
> Subject: [Ikvm-developers] screen location and graphics configuration
> issues
> 
> Hello,
> we noticed that the location returned by
> ikvm.awt.NetComponentPeer.getLocationOnScreen() is wrong (slightly to
> the right, and a bit down). When we subtract the window's insets from
> the location, the returned value is correct.
> Furthermore, we had problems with opening a dialog on the second
> monitor, because our cross-compiled Java code used
> ikvm.awt.NetGraphicsDevice.getDefaultConfiguration(). However, this
> returns always the default configuration of the primary screen, no
> matter to which screen the NetGraphicsDevice relates to. Instead it
> should return the default configuration for the NetGraphicsDevice at
> hand. See the attached patch for how to fix both issues. Note: the
> attached patch applies to IKVM release 7.2.4630.5.
> 
> Best regards,
> Maria
> 
> --
> Maria Papendieck                Phone: (+49) 0391 544569-34
> pure-systems GmbH               Fax:   (+49) 0391 544569-90
> --
> pure-systems GmbH
> Geschäftsführung: Danilo Beuche, Holger Papajewski Sitz der
> Gesellschaft: Magdeburg
> Registergericht: Amtsgericht Stendal, HRB 113044


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.