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 */
95 Component[] cs = tt.getComponents();
96 tt.getLayout();
97 tt.setLayout(new FlowLayout());
98 tt.doLayout();
99 tt.layout();
100 tt.invalidate();
101 tt.validate();
102 tt.remove(0);
103 tt.remove(c2);
104 tt.removeAll();
105 tt.preferredSize();
106 tt.minimumSize();
107 tt.getComponentAt(1, 2);
108 tt.locate(1, 2);
109 tt.getComponentAt(new Point(1, 2));
110 tt.isFocusCycleRoot(new Container());
111 tt.transferFocusBackward();
112 tt.setName("goober");
113 tt.getName();
114 tt.getParent();
115 tt.getPeer();
116 tt.getGraphicsConfiguration();
117 tt.getTreeLock();
118 tt.getToolkit();
119 tt.isValid();
120 tt.isDisplayable();
121 tt.isVisible();
122 tt.isShowing();
123 tt.isEnabled();
124 tt.enable(false);
125 tt.enable(true);
126 tt.enableInputMethods(false);
127 tt.enableInputMethods(true);
128 tt.show();
129 tt.show(false);
130 tt.show(true);
131 tt.hide();
132 tt.getForeground();
133 tt.isForegroundSet();
134 tt.getBackground();
135 tt.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 */
95 Component[] cs = tt.getComponents();
96 tt.getLayout();
97 tt.setLayout(new FlowLayout());
98 tt.doLayout();
99 tt.layout();
100 tt.invalidate();
101 tt.validate();
102 tt.remove(0);
103 tt.remove(c2);
104 tt.removeAll();
105 tt.preferredSize();
106 tt.minimumSize();
107 tt.getComponentAt(1, 2);
108 tt.locate(1, 2);
109 tt.getComponentAt(new Point(1, 2));
110 tt.isFocusCycleRoot(new Container());
111 tt.transferFocusBackward();
112 tt.setName("goober");
113 tt.getName();
114 tt.getParent();
115 tt.getGraphicsConfiguration();
116 tt.getTreeLock();
117 tt.getToolkit();
118 tt.isValid();
119 tt.isDisplayable();
120 tt.isVisible();
121 tt.isShowing();
122 tt.isEnabled();
123 tt.enable(false);
124 tt.enable(true);
125 tt.enableInputMethods(false);
126 tt.enableInputMethods(true);
127 tt.show();
128 tt.show(false);
129 tt.show(true);
130 tt.hide();
131 tt.getForeground();
132 tt.isForegroundSet();
133 tt.getBackground();
134 tt.isBackgroundSet();
|