Package net.sf.jpluck.swing

Examples of net.sf.jpluck.swing.JXLFileFilter


        fileHistoryMenu = new FileHistoryMenu(8, ClientConfiguration.getDefault().getFileHistory());
        fileHistoryMenu.setText("Reopen");
        fileHistoryMenu.setMnemonic('R');
        fileHistoryMenu.addActionListener(new ReopenActionListener());
        fileChooser = new JFileChooser();
        fileChooser.setFileFilter(new JXLFileFilter());
        fileChooser.setCurrentDirectory(new File(ClientConfiguration.getDefault().getLastDirectory()));
        fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);

        JMenuBar menuBar = new JMenuBar();
        setJMenuBar(menuBar);
View Full Code Here


    scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);

    fileChooser.setDialogTitle("Add JXL file");
    fileChooser.setApproveButtonText("Add JXL");
    fileChooser.setAcceptAllFileFilterUsed(false);
    JXLFileFilter jxlFilter = new JXLFileFilter();
    fileChooser.addChoosableFileFilter(jxlFilter);
    fileChooser.setFileFilter(jxlFilter);
    fileChooser.setFileHidingEnabled(false);

    /*fileChooser.setDialogTitle("Add JXL file");
View Full Code Here

TOP

Related Classes of net.sf.jpluck.swing.JXLFileFilter

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.