In a number of different places, it is explicitly stated that the sun.java2d.noddraw setting to true should be done at application start up, or in the .jnlp file of a web start file, or the like. I’ve been using the
System.setProperty("sun.java2d.noddraw","true");
line in my main method, and that seems to work… Is there some reason I shouldn’t be doing this, given that most references I can find call for it to be done at the command line?