jdk/test/java/awt/datatransfer/SystemSelection/SystemSelectionSwingTest.java
changeset 39056 d99e63b6d962
parent 25569 2bea87828632
equal deleted inserted replaced
39055:92f7fed22d5f 39056:d99e63b6d962
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    33 import java.awt.event.InputEvent;
    33 import java.awt.event.InputEvent;
    34 import java.util.Properties;
    34 import java.util.Properties;
    35 
    35 
    36 /*
    36 /*
    37  * @test
    37  * @test
       
    38  * @key headful
    38  * @summary To check the functionality of newly added API getSystemSelection & make sure
    39  * @summary To check the functionality of newly added API getSystemSelection & make sure
    39  *          that it's mapped to primary clipboard
    40  *          that it's mapped to primary clipboard
    40  * @author Jitender(jitender.singh@eng.sun.com) area=AWT
    41  * @author Jitender(jitender.singh@eng.sun.com) area=AWT
    41  * @library ../../../../lib/testlibrary
    42  * @library ../../../../lib/testlibrary
    42  * @build ExtendedRobot
    43  * @build ExtendedRobot