mbien commented on issue #6708:
URL: https://github.com/apache/netbeans/issues/6708#issuecomment-1814673467
> Interesting. I didn't know that System.setProperty("sun.java2d.uiScale",
x) takes effect at runtime.
it does only work if it is set _before_ any UI is initialized, the code
above is just an experiment for testing purposes.
> ...programmatically setting it with
System.setProperty("sun.java2d.uiScale", "2") (for example, in the static block
of a subclass of ModuleInstall)
your module is likely not loaded early enough, some UI might be already
initialized
> where can I find the main method in the NetBeans Platform-based
application?
The
[Main](https://github.com/mbien/netbeans/blob/master/platform/o.n.bootstrap/src/org/netbeans/Main.java)
class can't be customized
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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