Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.etla.org!aioe.org!.POSTED!not-for-mail From: Richard Maher Newsgroups: comp.lang.java.programmer Subject: Re: Is the API of JavaFX pixel-based? Date: Wed, 04 Feb 2015 06:28:28 +0800 Organization: Aioe.org NNTP Server Lines: 11 Message-ID: References: NNTP-Posting-Host: uYFkdLFMFILrcerhBCvdBA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:31036 On 2/4/2015 1:30 AM, Martin Gregorie wrote: > On Tue, 03 Feb 2015 11:01:39 +0000, Stefan Ram wrote: >> > If I'm writing Swing code I tend to get the screen size from the JFrame > > screenDets = getToolkit(); > screenSize = screenDets.getScreenSize(); > > and then express window sizes as a percentage of the screen size. > Isn't he just asking "Why not EMs (or other) rather than PXs?"