< prev index next >

src/java.desktop/share/classes/java/awt/Desktop.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 23,35 **** --- 23,38 ---- * questions. */ package java.awt; + import java.awt.desktop.AboutEvent; import java.awt.desktop.AboutHandler; import java.awt.desktop.OpenFilesHandler; + import java.awt.desktop.OpenURIEvent; import java.awt.desktop.OpenURIHandler; + import java.awt.desktop.PreferencesEvent; import java.awt.desktop.PreferencesHandler; import java.awt.desktop.PrintFilesHandler; import java.awt.desktop.QuitHandler; import java.awt.desktop.QuitStrategy; import java.awt.desktop.SystemEventListener;
*** 40,51 **** import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; - import sun.awt.SunToolkit; import javax.swing.JMenuBar; import sun.security.util.SecurityConstants; /** * The {@code Desktop} class allows interact with various desktop capabilities. * --- 43,55 ---- import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import javax.swing.JMenuBar; + + import sun.awt.SunToolkit; import sun.security.util.SecurityConstants; /** * The {@code Desktop} class allows interact with various desktop capabilities. *
< prev index next >