Package edu.stanford.smi.protege.util

Examples of edu.stanford.smi.protege.util.ExtensionFilter


  private void buildUI() {
    setLayout(new BorderLayout());
   
    java.util.List<String> extensions = (java.util.List<String>) Arrays.asList((new String[]{"pprj", "owl" , "rdfs", "rdf"}));
    fileField = new FileField("Select file", null, new ExtensionFilter(extensions.iterator(), "Files"));
    JPanel filePanel = new JPanel(new BorderLayout());
    filePanel.add(fileField, BorderLayout.CENTER);
    JPanel buttonPanel = new JPanel();
    buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.Y_AXIS));
    JButton button = new JButton(getLoadAction());
View Full Code Here

TOP

Related Classes of edu.stanford.smi.protege.util.ExtensionFilter

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.