Hi,
In the DisplayHost class constructor there is a piece of
code as follows:
try {
System.setProperty("sun.awt.noerasebackground", "true");
System.setProperty("sun.awt.erasebackgroundonresize",
"true");
} catch (SecurityException exception) {
// No-op
}
In my environment (windows XP 32bits), resize the main window in a desktop
app produces too much flickering, if I set the
sun.awt.erasebackgroundonresize property to false the resize is smoother.
So my first question is if this behavior could be modified to some like
this:
Try{
If(!System.getProperties().containsKey("some.property");){
System.setProperty("some.property", "default_value");
}
}.
In that case I will able to change that property before things get
initialized. But I don't know how this properties affects other
environments, so my second question is why this properties are used in that
way? There is a particular reason?
Thanks in advance,
Alejandro