Lines Matching refs:Desktop
44 * The {@code Desktop} class allows a Java application to launch
70 * Desktop.Action} class.
80 public class Desktop {
84 * set of actions. You may use the {@link Desktop#isSupported}
87 * @see java.awt.Desktop#isSupported(java.awt.Desktop.Action)
93 * @see Desktop#open(java.io.File)
98 * @see Desktop#edit(java.io.File)
103 * @see Desktop#print(java.io.File)
108 * @see Desktop#mail()
109 * @see Desktop#mail(java.net.URI)
114 * @see Desktop#browse(java.net.URI)
124 private Desktop() {
129 * Returns the <code>Desktop</code> instance of the current
130 * browser context. On some platforms the Desktop API may not be
133 * @return the Desktop instance of the current browser context
141 public static synchronized Desktop getDesktop(){
143 if (!Desktop.isDesktopSupported()) {
144 throw new UnsupportedOperationException("Desktop API is not " +
149 Desktop desktop = (Desktop)context.get(Desktop.class);
152 desktop = new Desktop();
153 context.put(Desktop.class, desktop);
181 * most of the platforms support the {@link Desktop.Action#OPEN}
190 * @see Desktop.Action
255 * does not support the {@link Desktop.Action#OPEN} action
284 * does not support the {@link Desktop.Action#EDIT} action
317 * does not support the {@link Desktop.Action#PRINT} action
357 * does not support the {@link Desktop.Action#BROWSE} action
412 * does not support the {@link Desktop.Action#MAIL} action
453 * does not support the {@link Desktop.Action#MAIL} action