1 /**
2 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 6380849
27 * @summary Tests PropertyEditor finder
28 * @author Sergey Malenkov
29 * @compile -XDignore.symbol.file TestPropertyEditor.java
30 * @run main TestPropertyEditor
31 */
32
33 import editors.SecondBeanEditor;
34 import editors.ThirdBeanEditor;
35
36 import java.awt.Color;
37 import java.awt.Font;
38 import java.beans.PropertyEditor;
39 import java.beans.PropertyEditorManager;
40
41 import com.sun.beans.editors.BooleanEditor;
42 import com.sun.beans.editors.ByteEditor;
43 import com.sun.beans.editors.ColorEditor;
44 import com.sun.beans.editors.DoubleEditor;
45 import com.sun.beans.editors.EnumEditor;
46 import com.sun.beans.editors.FloatEditor;
47 import com.sun.beans.editors.FontEditor;
48 import com.sun.beans.editors.IntegerEditor;
|
1 /**
2 * Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 6380849
27 * @summary Tests PropertyEditor finder
28 * @author Sergey Malenkov
29 * @modules java.desktop/com.sun.beans.editors
30 * @compile -XDignore.symbol.file TestPropertyEditor.java
31 * @run main TestPropertyEditor
32 */
33
34 import editors.SecondBeanEditor;
35 import editors.ThirdBeanEditor;
36
37 import java.awt.Color;
38 import java.awt.Font;
39 import java.beans.PropertyEditor;
40 import java.beans.PropertyEditorManager;
41
42 import com.sun.beans.editors.BooleanEditor;
43 import com.sun.beans.editors.ByteEditor;
44 import com.sun.beans.editors.ColorEditor;
45 import com.sun.beans.editors.DoubleEditor;
46 import com.sun.beans.editors.EnumEditor;
47 import com.sun.beans.editors.FloatEditor;
48 import com.sun.beans.editors.FontEditor;
49 import com.sun.beans.editors.IntegerEditor;
|