Hi Dawid,

Modern OSes have already useful tools for this testcase, I think.

You can also try out setting the sun.java2d.uiScale in the netbeans.conf file (it works in my Linux box with integral scaling, i.e., 2, 3, etc.). It seems visualvm (NetBeans based) has this as a command line option [1].

If you decide to do it programmatically I'd suggest doing it in the look and feel, not in NetBeans itself.

Cheers,
Antonio

[1]
https://visualvm.github.io/docs/command-line-options.html



On 2/11/23 7:39, Dawid Lokiec wrote:
Hi,

I'm working on a NetBeans Platform application and want to ensure
accessibility by dynamically scaling up the GUI components for users with
visual impairments. Is there a way to achieve this programmatically for all
GUI controls?

Primarily, I'm looking for a way to iterate through all the UI controls in
the NetBeans Platform and somehow (are there setters for this?!)
dynamically set the scaling in both the x and y dimensions based on the
user's previous adjustment through the GUI. I would greatly appreciate it
if someone could show me how to perform such an iteration and the API for
setting the scaling.

Thanks in advance.

Dawid.


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



Reply via email to