Lines Matching refs:fileChooser
817 JFileChooser fileChooser= new JFileChooser(); in openFile() local
819 fileChooser.setDialogTitle("Select File To Open"); in openFile()
820 fileChooser.setDialogType(JFileChooser.OPEN_DIALOG); in openFile()
822 fileChooser.setApproveButtonText("Ok"); in openFile()
826 fileChooser.rescanCurrentDirectory(); in openFile()
830 fileChooser.setCurrentDirectory(m_currentDirectory); in openFile()
833 fileChooser.setFileFilter(new XMLFileFilter()); in openFile()
835 int result = fileChooser.showDialog(this,null); in openFile()
836 if (result==fileChooser.APPROVE_OPTION) in openFile()
838 m_currentDirectory = fileChooser.getCurrentDirectory(); in openFile()
839 rc = fileChooser.getSelectedFile(); in openFile()
847 JFileChooser fileChooser= new JFileChooser(); in saveFile() local
849 fileChooser.setDialogTitle("Select File To Save"); in saveFile()
850 fileChooser.setDialogType(JFileChooser.SAVE_DIALOG); in saveFile()
852 fileChooser.setApproveButtonText("Ok"); in saveFile()
856 fileChooser.rescanCurrentDirectory(); in saveFile()
860 fileChooser.setCurrentDirectory(m_currentDirectory); in saveFile()
863 fileChooser.setFileFilter(new XMLFileFilter()); in saveFile()
865 int result = fileChooser.showDialog(this,null); in saveFile()
866 if (result==fileChooser.APPROVE_OPTION) in saveFile()
870 m_currentDirectory = fileChooser.getCurrentDirectory(); in saveFile()
871 saveFile(fileChooser.getSelectedFile()); in saveFile()