Re: How can I dynamically scale (enlarge) all GUI controls in my NetBeans Platform-based application to support accessibility?
I had a similar need and I ended up rolling my own. It supports Swing & JavaFx in the same application, without disturbing OpenGL scaling. My work is on github but basically I use the standard --fontsize argument and calculate a scale factor from that. There are a couple of helper methods that creates scaled Dimensions, Insets and so on. https://github.com/trixon/almond/blob/develop/util/src/main/java/se/trixon/almond/util/swing/SwingHelper.java#L208 https://github.com/trixon/almond/blob/develop/util/src/main/java/se/trixon/almond/util/fx/FxHelper.java#L112 If the attached image doesn't make it, there's a copy at https://mapton.org/images/Screenshot_20231102_203424.png [image: Screenshot_20231102_203424.png] Den tors 2 nov. 2023 kl 19:10 skrev Dawid Lokiec : > 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. >
Re: How can I dynamically scale (enlarge) all GUI controls in my NetBeans Platform-based application to support accessibility?
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: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
How can I dynamically scale (enlarge) all GUI controls in my NetBeans Platform-based application to support accessibility?
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.
RE: Oracle donation - can I use old wiki content to create a new one?
I'm not sure you can use for your own content. But can be integrated to the Apache NetBeans site maybe. Eric -Message d'origine- De : Piotr Hoppe Envoyé : mercredi 1 novembre 2023 01:46 À : dev@netbeans.apache.org Objet : Oracle donation - can I use old wiki content to create a new one? Hi All, I'am try to bring back to live a Ruby plugin for NetBeans and so far I have pre-release version (https://github.com/piotrhoppe/community-ruby/releases). I have a question if old content from Ruby Wiki have been covered by Oracle donation, can I use/copy it? I want to use old content, text and pictures, to create a new wiki? Is it legal? Can I do that? Piotr, - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
RE: New website issue tracker?
Hi, https://netbeans.apache.org/front/main/about/history/ as it use clean url. The true file is here: https://github.com/apache/netbeans-website/blob/asf-site/front/main/about/history/index.html Maybe we shouldn't use it. For the report it was common to use main git repo issues. I'm trying to list the missing Wiki page right now, there is a lot. Best Regards Eric -Message d'origine- De : Antonio Envoyé : mardi 31 octobre 2023 22:30 À : dev@netbeans.apache.org Objet : New website issue tracker? Hi all, I've just noticed that we've missed the "NetBeans history" web page. The source seems to be still there [1] but it isn't published at [2]. I'll try to take a look at it during the weekend, if possible. Question is: now that we have an Antora backed site, do we want to report issues somewhere? Cheers, Antonio [1] https://github.com/apache/netbeans-antora-site/blob/main/modules/ROOT/pages/about/history.adoc [2] https://netbeans.apache.org/front/main/about/history.html - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists