mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-12 17:03:14 +00:00
8151699: [TEST_BUG] fix awt/image/multiresolution/MultiResolutionTrayIconTest
Reviewed-by: serb
This commit is contained in:
parent
3dc3d0c3e5
commit
775c1f4f73
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user