[ 
https://issues.apache.org/jira/browse/NETBEANS-6172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17439401#comment-17439401
 ] 

Eirik Bakke commented on NETBEANS-6172:
---------------------------------------

NetBeans uses the same scaling configuration as java.exe and javaw.exe (see 
https://github.com/apache/netbeans/pull/883/files ). Normally this means that 
both NetBeans and other Java apps will be scaled up and appear sharp. But if 
you have previously changed the EXE file settings in Windows Explorer via 
Properties->Compatibility, that may cause the behavior to change.

See also my previous question--are you trying to make the application appear at 
1x scale ("unscaled") despite the Windows being configured to e.g. 200%? This 
would make your application look very small on your screen compared to other 
apps. Is that what you need?

> NetBeans screen scaling with Windows 10 
> ----------------------------------------
>
>                 Key: NETBEANS-6172
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6172
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: javaee - Hibernate
>    Affects Versions: 12.4
>         Environment: Windows 10, NetBeans 12.0
>            Reporter: Sergio García
>            Assignee: Eirik Bakke
>            Priority: Major
>              Labels: HiDPI
>         Attachments: LoginScaled.png, LoginScaled_Real.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
>  
>  In the latest versions of Netbeans I have been able to verify that the 
> Netbeans IDE is rescaled according to the latent configuration in Windows 10 
> (dpi); this new behavior is fine and improves the development environment. 
> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process; i'm using Maven to compile and execute the program.
>  In my case, having a GUI adapted to the real size of my monitor screen is 
> important. I have tried to solve this problem by parameterizing the java with 
> commands like "-Dsun.java2d.uiScale = 1.0" or by disabling the windows 
> rescaling option that exists in the "java.exe" and "javaw.exe" properties but 
> this does not work for NetBeans. It also doesn't work to change the Netbeans 
> setting with the parameter "-J-Dsun.java2d.dpiaware = true".
>   
>  *It would be interesting to have a clear and functional way to avoid 
> rescaling windows to facilitate the visual design of the GUIs.*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to