Modifying autotest behavior from connection settings page such that for each time the user request testing, test at most 3 times with success ending autotesting
function Layout() {
}
Layout.prototype.layout = function(instance, laf) {
// do nothing
}
Layout.prototype.getPreferredSize = function(instance, laf, wHint, hHint) {
return new Point(wHint, hHint);
}