you can set some vm args inside your code with System.setProperty()
, for example, you can set the opengl pipeline on, if any component is visible yet, if you call
That's a good hint and keyword.
In the same way it's possible to set most (all?) of the Swing switches when your main class does it before
any visual component is being created.
For example my typical main class loads some prefs and then issues:
... and then creates the JFrame and so on.