8151699: [TEST_BUG] fix awt/image/multiresolution/MultiResolutionTrayIconTest

Reviewed-by: serb
This commit is contained in:
Alexander Stepanov 2016-03-11 14:06:14 +03:00
parent 3dc3d0c3e5
commit 775c1f4f73

View File

@ -90,8 +90,10 @@ public class MultiResolutionTrayIconTest extends Applet {
BufferedImage nok = generateImage(w / 2 + 2, h / 2 + 2, Color.RED);
BaseMultiResolutionImage mri =
new BaseMultiResolutionImage(new BufferedImage[] {nok, img});
icon = new TrayIcon(img);
icon = new TrayIcon(img);
icon.setImageAutoSize(true); // just in case
iconMRI = new TrayIcon(mri);
iconMRI.setImageAutoSize(true);
}
private void doTest() {