< prev index next >

src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java

Print this page

        

@@ -141,10 +141,11 @@
         map.put("Go Up", getChangeToParentDirectoryAction());
         map.put("fileNameCompletion", getFileNameCompletionAction());
         return map;
     }
 
+    @SuppressWarnings("deprecation")
     public String getFileName() {
         JFileChooser fc = getFileChooser();
         String typedInName = fileNameTextField != null ?
             fileNameTextField.getText() : null;
 

@@ -417,10 +418,11 @@
         return new DoubleClickListener(list);
     }
 
 
 
+    @SuppressWarnings("deprecation")
     protected class SelectionListener implements ListSelectionListener {
         public void valueChanged(ListSelectionEvent e) {
             if (!e.getValueIsAdjusting()) {
                 JFileChooser chooser = getFileChooser();
                 JList<?> list = (JList) e.getSource();
< prev index next >