< prev index next >

test/java/awt/hidpi/properties/HiDPIPropertiesUnixTest.java

Print this page

        

*** 30,51 **** /* @test * @bug 8137571 * @summary Linux HiDPI Graphics support * @author Alexander Scherbatiy ! * @requires (os.family == "linux") * @run main/othervm -Dsun.java2d.uiScale.enabled=false * -Dsun.java2d.uiScale=2 ! * HiDPIPropertiesLinuxTest UISCALE_DISABLED ! * HiDPIPropertiesTest UISCALE_DISABLED * @run main/othervm -Dsun.java2d.uiScale.enabled=true * -Dsun.java2d.uiScale=3 ! * HiDPIPropertiesLinuxTest UISCALE_3 * @run main/othervm -Dsun.java2d.uiScale=4 ! * HiDPIPropertiesLinuxTest UISCALE_4 */ ! public class HiDPIPropertiesLinuxTest { public static void main(String[] args) throws Exception { try { UIManager.setLookAndFeel( --- 30,50 ---- /* @test * @bug 8137571 * @summary Linux HiDPI Graphics support * @author Alexander Scherbatiy ! * @requires (os.family == "linux" | os.family == "mac") * @run main/othervm -Dsun.java2d.uiScale.enabled=false * -Dsun.java2d.uiScale=2 ! * HiDPIPropertiesUnixTest UISCALE_DISABLED * @run main/othervm -Dsun.java2d.uiScale.enabled=true * -Dsun.java2d.uiScale=3 ! * HiDPIPropertiesUnixTest UISCALE_3 * @run main/othervm -Dsun.java2d.uiScale=4 ! * HiDPIPropertiesUnixTest UISCALE_4 */ ! public class HiDPIPropertiesUnixTest { public static void main(String[] args) throws Exception { try { UIManager.setLookAndFeel(
< prev index next >