/* @test
@bug 6683775 6794764
@summary Painting artifacts is seen when panel is made setOpaque(false) for a translucent window
@author Alexander Potochkin
@run main bug6683775
*/
public class bug6683775 {
return;
}
public void run() {
backgroundFrame.setUndecorated(true);
backgroundFrame.setVisible(true);
testFrame.setUndecorated(true);
p.setOpaque(false);
testFrame.setVisible(true);
}
});
//robot.getPixelColor() didn't work right for some reason
throw new RuntimeException("Transparent frame is not transparent!");
}
}
transparencyCapableGC = configs[j];
}
}
}
}
return transparencyCapableGC;
}
}