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

Sergio García edited comment on NETBEANS-6172 at 11/18/21, 8:39 AM:
--------------------------------------------------------------------

Thanks a lot Eirik, it is resolved.
The problem was that the parameter I was using was "-Dsun.java2d.uiScale 
={color:red} 1.0{color}"; i think this is not correct , the float number give 
problems.



was (Author: sgarciaperez):
Thanks a lot Eirik, it is resolved.
The problem was that the parameter I was using was "-Dsun.java2d.uiScale = 
1.0"; i think this is not correct , the float number give problems.


> 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.20.1#820001)

---------------------------------------------------------------------
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