catch (java.beans.PropertyVetoException e)\r
{}\r
frame.setResizable(true);\r
- frame.setSize(845, 200);\r
- frame.setLocation( (int)((getWidth()-845) /2), (int)((getHeight()-240) /2));\r
+ frame.setSize(750, 160);\r
+ frame.setLocation( (int)((getWidth()-750) /2), (int)((getHeight()-160) /2));\r
frame.setClosable(false);\r
frame.setIconifiable(false);\r
frame.setMaximizable(false);\r
\r
public void inputLocalFileMenuItem_actionPerformed(ActionEvent e)\r
{\r
- JFileChooser chooser = new JFileChooser(jalview.bin.Cache.getProperty("LAST_DIRECTORY"));\r
+ JalviewFileChooser chooser = new JalviewFileChooser();\r
chooser.setFileView(new JalviewFileView());\r
chooser.setDialogTitle("Open local file");\r
chooser.setToolTipText("Open");\r
int value = chooser.showOpenDialog(this);\r
- if(value == JFileChooser.APPROVE_OPTION)\r
+ if(value == JalviewFileChooser.APPROVE_OPTION)\r
{\r
String choice = chooser.getSelectedFile().getPath();\r
jalview.bin.Cache.setProperty("LAST_DIRECTORY", choice);\r