Package nu.fw.jeti.util

Examples of nu.fw.jeti.util.ImageFileFilter


   
      public void actionPerformed(ActionEvent e)
      {
        JFileChooser chooser = new JFileChooser();
        chooser.setCurrentDirectory(new File(txtBackground.getText()));
        chooser.setFileFilter(new ImageFileFilter());
        int result = chooser.showOpenDialog(StdPreferencesPanel.this);
        if(result==JFileChooser.APPROVE_OPTION)
        {
          txtBackground.setText(chooser.getSelectedFile().getAbsolutePath());
        }
View Full Code Here

TOP

Related Classes of nu.fw.jeti.util.ImageFileFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.