< prev index next >

test/javax/swing/JWindow/ShapedAndTranslucentWindows/SetShapeAndClickSwing.java

Print this page
rev 14836 : 8159690: [TESTBUG] Mark headful tests with @key headful.

*** 1,7 **** /* ! * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 31,40 **** --- 31,41 ---- import java.awt.geom.GeneralPath; import java.awt.geom.Rectangle2D; /* * @test + * @key headful * @summary Check if a window set with shape clips the contents * Test Description: Check if PERPIXEL_TRANSPARENT translucency type is supported * by the current platform. Proceed if it is supported. Apply different types * of shapes on a Window which contains some awt components. Shape should be * applied in such a way that some components are partially clipped off. Check
< prev index next >