1 /*
2 * Copyright (c) 2007, 2014, 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 */
118 Component[] cs = intf.getComponents();
119 intf.getLayout();
120 intf.setLayout(new FlowLayout());
121 intf.doLayout();
122 intf.layout();
123 intf.invalidate();
124 intf.validate();
125 intf.remove(0);
126 intf.remove(c2);
127 intf.removeAll();
128 intf.preferredSize();
129 intf.minimumSize();
130 intf.getComponentAt(1, 2);
131 intf.locate(1, 2);
132 intf.getComponentAt(new Point(1, 2));
133 intf.isFocusCycleRoot(new Container());
134 intf.transferFocusBackward();
135 intf.setName("goober");
136 intf.getName();
137 intf.getParent();
138 intf.getPeer();
139 intf.getGraphicsConfiguration();
140 intf.getTreeLock();
141 intf.getToolkit();
142 intf.isValid();
143 intf.isDisplayable();
144 intf.isVisible();
145 intf.isShowing();
146 intf.isEnabled();
147 intf.enable(false);
148 intf.enable(true);
149 intf.enableInputMethods(false);
150 intf.enableInputMethods(true);
151 intf.show();
152 intf.show(false);
153 intf.show(true);
154 intf.hide();
155 intf.getForeground();
156 intf.isForegroundSet();
157 intf.getBackground();
158 intf.isBackgroundSet();
|
1 /*
2 * Copyright (c) 2007, 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 */
118 Component[] cs = intf.getComponents();
119 intf.getLayout();
120 intf.setLayout(new FlowLayout());
121 intf.doLayout();
122 intf.layout();
123 intf.invalidate();
124 intf.validate();
125 intf.remove(0);
126 intf.remove(c2);
127 intf.removeAll();
128 intf.preferredSize();
129 intf.minimumSize();
130 intf.getComponentAt(1, 2);
131 intf.locate(1, 2);
132 intf.getComponentAt(new Point(1, 2));
133 intf.isFocusCycleRoot(new Container());
134 intf.transferFocusBackward();
135 intf.setName("goober");
136 intf.getName();
137 intf.getParent();
138 intf.getGraphicsConfiguration();
139 intf.getTreeLock();
140 intf.getToolkit();
141 intf.isValid();
142 intf.isDisplayable();
143 intf.isVisible();
144 intf.isShowing();
145 intf.isEnabled();
146 intf.enable(false);
147 intf.enable(true);
148 intf.enableInputMethods(false);
149 intf.enableInputMethods(true);
150 intf.show();
151 intf.show(false);
152 intf.show(true);
153 intf.hide();
154 intf.getForeground();
155 intf.isForegroundSet();
156 intf.getBackground();
157 intf.isBackgroundSet();
|