src/share/classes/java/awt/Toolkit.java

Print this page

        

*** 392,401 **** --- 392,415 ---- */ protected abstract FileDialogPeer createFileDialog(FileDialog target) throws HeadlessException; /** + * Creates this toolkit's implementation of <code>DirectoryDialog</code> using + * the specified peer interface. + * @param target the directory dialog to be implemented. + * @return this toolkit's implementation of <code>DirectoryDialog</code>. + * @exception HeadlessException if GraphicsEnvironment.isHeadless() + * returns true + * @see java.awt.GraphicsEnvironment#isHeadless + * @see java.awt.DirectoryDialog + * @see java.awt.peer.DirectoryDialogPeer + */ + protected abstract DirectoryDialogPeer createDirectoryDialog(DirectoryDialog target) + throws HeadlessException; + + /** * Creates this toolkit's implementation of <code>CheckboxMenuItem</code> using * the specified peer interface. * @param target the checkbox menu item to be implemented. * @return this toolkit's implementation of <code>CheckboxMenuItem</code>. * @exception HeadlessException if GraphicsEnvironment.isHeadless()