src/share/classes/sun/awt/HeadlessToolkit.java

Print this page

        

@@ -141,10 +141,15 @@
     public FileDialogPeer createFileDialog(FileDialog target)
         throws HeadlessException {
         throw new HeadlessException();
     }
 
+    public DirectoryDialogPeer createDirectoryDialog(DirectoryDialog target) 
+        throws HeadlessException {
+        throw new HeadlessException();
+    }
+    
     public MenuBarPeer createMenuBar(MenuBar target)
         throws HeadlessException {
         throw new HeadlessException();
     }