I'm trying to get SwapDV to retain its last main
window position when starting. I've set the desired
settings in the swapdv.ini file, but the window always
seems to start in the same place. I did some looking
around in the SwapDV.java file and found the following
lines of code:
getValues(args);
if (posX > 100 && posY > 100) {
setLocation(posX, posY);
}
if (width > 100 && height > 100) {
setSize(width, height);
}
I belevie this is the issue:
getValues() reads the window position settings from
SwapDV.ini and sets posX, posY width and height based
on those values. However, the two conditionals
prevent any values less that 100 from being used. Why?
Thanks,
Randy.
Logged In: YES
user_id=503846
I think those if statements were originally used to
restrict the size of the window, and were also applied
to the position. They'll be taken out in the next
(imminent) release.
Jim.