< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicFileChooserUI.java

Print this page

        

*** 500,509 **** --- 500,510 ---- } public void mouseReleased(MouseEvent evt) { } + @SuppressWarnings("deprecation") public void valueChanged(ListSelectionEvent evt) { if(!evt.getValueIsAdjusting()) { JFileChooser chooser = getFileChooser(); FileSystemView fsv = chooser.getFileSystemView(); @SuppressWarnings("unchecked")
*** 1303,1312 **** --- 1304,1314 ---- * argument is provided to enable sharing of TransferHandlers by * multiple components. * @return The representation of the data to be transfered. * */ + @SuppressWarnings("deprecation") protected Transferable createTransferable(JComponent c) { Object[] values = null; if (c instanceof JList) { values = ((JList)c).getSelectedValues(); } else if (c instanceof JTable) {
< prev index next >