It seems Java 9 ignores this setting. If I set if -J-Dsun.java2d.dpiaware=false I can reproduce the effect in Java 8.
-----Ursprüngliche Nachricht----- Von: [email protected] <[email protected]> Gesendet: Montag, 12. März 2018 07:21 An: [email protected] Betreff: AW: dpi on Windows Java 9 Hi Zoran, thanks, but unfortunately it doesn't help. Toni -----Ursprüngliche Nachricht----- Von: Zoran Sevarac <[email protected]> Gesendet: Sonntag, 11. März 2018 20:27 An: [email protected] Betreff: Re: dpi on Windows Java 9 Hi Toni Try if -J-Dsun.java2d.dpiaware=false in netbeans_default_options in /etc/netbeans.conf solves the problem This is the swing problem, and maybe we should consider using false as the default setting Cheers Zoran On Sun, Mar 11, 2018 at 8:02 PM, <[email protected]> wrote: > It's a 13,3" FHD 1920 x 1080 with app scaling set to 150%. Not sure if > that already counts as high dpi. > > Toni > > -----Ursprüngliche Nachricht----- > Von: Emilian Bold <[email protected]> > Gesendet: Sonntag, 11. März 2018 19:49 > An: [email protected] > Betreff: Re: dpi on Windows Java 9 > > I don't have an answer but, just to confirm, your Windows laptop is > HiDPI, correct? > > --emi > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On 11 March 2018 8:14 PM, <[email protected]> wrote: > > > Hi, > > > > I recently switched to a windows machine. When building NB from > > sources > and running it on JDK8 it looks normal, i.e. like 8.2, but when > running on > JDK9 icons are pixelated and double the size. > > > > Any idea how to fix this? I’ll show NB JShell integration at a > conference on Tuesday, and it would be great to have a nice looking NB > for that 😊. > > > > Thanks > > > > Toni > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: > [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: > [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > -- Zoran Sevarac, PhD, Assistant Professor Department of Software Engineering University of Belgrade, Faculty of Organisational Sciences <http://www.fon.rs> Neuroph <http://neuroph.sourceforge.net/> founder | Java Champion <https://community.oracle.com/community/java/java-champions> | NetBeans Dream Team <http://wiki.netbeans.org/NetBeansDreamTeam> Homepage: http://www.zoransevarac.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
