Searched refs:HeadlessException (Results 1 - 25 of 72) sorted by relevance

123

/openjdk7/jdk/src/share/classes/sun/awt/
H A DHToolkit.java63 throws HeadlessException {
64 throw new HeadlessException();
68 throws HeadlessException {
69 throw new HeadlessException();
73 throws HeadlessException {
74 throw new HeadlessException();
78 throws HeadlessException {
79 throw new HeadlessException();
83 throws HeadlessException {
84 throw new HeadlessException();
[all...]
H A DComponentFactory.java38 CanvasPeer createCanvas(Canvas target) throws HeadlessException;
40 PanelPeer createPanel(Panel target) throws HeadlessException;
42 WindowPeer createWindow(Window target) throws HeadlessException;
44 FramePeer createFrame(Frame target) throws HeadlessException;
46 DialogPeer createDialog(Dialog target) throws HeadlessException;
48 ButtonPeer createButton(Button target) throws HeadlessException;
51 throws HeadlessException;
53 ChoicePeer createChoice(Choice target) throws HeadlessException;
55 LabelPeer createLabel(Label target) throws HeadlessException;
57 ListPeer createList(List target) throws HeadlessException;
[all...]
H A DHeadlessToolkit.java85 throws HeadlessException {
86 throw new HeadlessException();
90 throws HeadlessException {
91 throw new HeadlessException();
95 throws HeadlessException {
96 throw new HeadlessException();
100 throws HeadlessException {
101 throw new HeadlessException();
105 throws HeadlessException {
106 throw new HeadlessException();
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DHeadlessException.java36 public class HeadlessException extends UnsupportedOperationException { class in inherits:UnsupportedOperationException
41 public HeadlessException() {} method in class:HeadlessException
42 public HeadlessException(String msg) { method in class:HeadlessException
H A DMouseInfo.java63 * @exception HeadlessException if GraphicsEnvironment.isHeadless() returns true
72 public static PointerInfo getPointerInfo() throws HeadlessException {
74 throw new HeadlessException();
116 * @exception HeadlessException if GraphicsEnvironment.isHeadless() returns true
120 public static int getNumberOfButtons() throws HeadlessException {
122 throw new HeadlessException();
H A DLabel.java112 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
116 public Label() throws HeadlessException {
127 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
131 public Label(String text) throws HeadlessException {
145 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
149 public Label(String text, int alignment) throws HeadlessException {
157 * @exception HeadlessException if
165 throws ClassNotFoundException, IOException, HeadlessException {
H A DGraphicsEnvironment.java130 * a HeadlessException is thrown from areas of the Toolkit
136 * @see java.awt.HeadlessException
202 * Check for headless state and throw HeadlessException if headless
205 static void checkHeadless() throws HeadlessException {
207 throw new HeadlessException();
214 * <code>HeadlessException</code> will be thrown from areas of the
220 * @see java.awt.HeadlessException
235 * @exception HeadlessException if isHeadless() returns true
239 throws HeadlessException;
245 * @exception HeadlessException i
[all...]
H A DToolkit.java123 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
131 throws HeadlessException;
139 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
146 throws HeadlessException;
153 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
160 throws HeadlessException;
167 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
174 throws HeadlessException;
181 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
188 throws HeadlessException;
[all...]
H A DPopupMenu.java68 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
72 public PopupMenu() throws HeadlessException {
81 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
85 public PopupMenu(String label) throws HeadlessException {
H A DCheckbox.java139 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
143 public Checkbox() throws HeadlessException {
154 * @exception HeadlessException if
159 public Checkbox(String label) throws HeadlessException {
171 * @exception HeadlessException if
176 public Checkbox(String label, boolean state) throws HeadlessException {
189 * @exception HeadlessException if
196 throws HeadlessException {
215 * @exception HeadlessException if
222 throws HeadlessException {
[all...]
H A DTextArea.java157 * @exception HeadlessException if
161 public TextArea() throws HeadlessException {
173 * @exception HeadlessException if
177 public TextArea(String text) throws HeadlessException {
191 * @exception HeadlessException if
195 public TextArea(int rows, int columns) throws HeadlessException {
212 * @exception HeadlessException if
217 throws HeadlessException {
252 * @exception HeadlessException if
257 throws HeadlessException {
[all...]
H A DTextField.java149 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
153 public TextField() throws HeadlessException {
162 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
166 public TextField(String text) throws HeadlessException {
177 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
181 public TextField(int columns) throws HeadlessException {
196 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
200 public TextField(String text, int columns) throws HeadlessException {
679 * @exception HeadlessException if
687 throws ClassNotFoundException, IOException, HeadlessException
[all...]
H A DButton.java134 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
138 public Button() throws HeadlessException {
147 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
151 public Button(String label) throws HeadlessException {
471 * @exception HeadlessException if
481 throws ClassNotFoundException, IOException, HeadlessException
H A DCheckboxMenuItem.java102 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
107 public CheckboxMenuItem() throws HeadlessException {
117 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
121 public CheckboxMenuItem(String label) throws HeadlessException {
132 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
138 throws HeadlessException {
/openjdk7/jdk/test/java/awt/GraphicsEnvironment/LoadLock/
H A DGE_init6.java38 } catch (HeadlessException e){
/openjdk7/jdk/test/java/awt/Toolkit/Headless/ExceptionContract/
H A DExceptionContract.java58 } catch (HeadlessException he){
62 throw new RuntimeException("Tk.getLockingKeyState() didn't throw HeadlessException while in the headless mode.");
69 } catch (HeadlessException he){
73 throw new RuntimeException("Tk.setLockingKeyState() didn't throw HeadlessException while in the headless mode.");
80 } catch (HeadlessException he){
85 throw new RuntimeException("Tk.createCustomCursor(args) didn't throw HeadlessException while in the headless mode.");
94 throws IndexOutOfBoundsException, HeadlessException
112 public void loadSystemColors(int[] systemColors) throws HeadlessException {
117 protected DesktopPeer createDesktopPeer(Desktop target) throws HeadlessException {
122 protected ButtonPeer createButton(Button target) throws HeadlessException {
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DHeadlessGraphicsEnvironment.java31 import java.awt.HeadlessException;
71 throws HeadlessException {
72 throw new HeadlessException();
76 throws HeadlessException {
77 throw new HeadlessException();
80 public Point getCenterPoint() throws HeadlessException {
81 throw new HeadlessException();
84 public Rectangle getMaximumWindowBounds() throws HeadlessException {
85 throw new HeadlessException();
/openjdk7/jdk/test/java/awt/GraphicsEnvironment/
H A DTestGetDefScreenDevice.java38 throw new Exception("Failed. HeadlessException not thrown");
39 } catch (HeadlessException he) {
H A DPreferLocaleFonts.java55 public GraphicsDevice getDefaultScreenDevice() throws HeadlessException {
58 public GraphicsDevice[] getScreenDevices() throws HeadlessException {
/openjdk7/jdk/src/share/classes/java/awt/im/spi/
H A DInputMethodContext.java28 import java.awt.HeadlessException;
87 * @exception HeadlessException if <code>GraphicsEnvironment.isHeadless
119 * @exception HeadlessException if <code>GraphicsEnvironment.isHeadless
/openjdk7/jdk/src/share/classes/java/applet/
H A DApplet.java60 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
65 public Applet() throws HeadlessException {
67 throw new HeadlessException();
89 * @exception HeadlessException if
97 throws ClassNotFoundException, IOException, HeadlessException {
99 throw new HeadlessException();
/openjdk7/jdk/src/share/classes/java/awt/print/
H A DPrinterJob.java29 import java.awt.HeadlessException;
253 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
257 public abstract boolean printDialog() throws HeadlessException;
297 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
306 throws HeadlessException {
331 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
337 throws HeadlessException;
360 * @exception HeadlessException if GraphicsEnvironment.isHeadless()
369 throws HeadlessException {
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJOptionPane.java36 import java.awt.HeadlessException;
434 * @exception HeadlessException if
440 throws HeadlessException {
468 * @exception HeadlessException if
474 Object message) throws HeadlessException {
517 * @exception HeadlessException if
524 throws HeadlessException {
560 * @exception HeadlessException if
568 throws HeadlessException {
602 * @exception HeadlessException i
[all...]
/openjdk7/jdk/src/share/classes/javax/print/
H A DServiceUI.java31 import java.awt.HeadlessException;
148 * @throws HeadlessException if GraphicsEnvironment.isHeadless()
160 throws HeadlessException
165 throw new HeadlessException();
273 throws HeadlessException
276 throw new HeadlessException();
/openjdk7/jdk/src/macosx/classes/sun/awt/
H A DCGraphicsEnvironment.java169 public synchronized GraphicsDevice getDefaultScreenDevice() throws HeadlessException {
183 public synchronized GraphicsDevice[] getScreenDevices() throws HeadlessException {

Completed in 83 milliseconds

123