Package gnu.testlet.javax.swing.JFileChooser

Examples of gnu.testlet.javax.swing.JFileChooser.MyFileChooser


   *
   * @param harness  the test harness (<code>null</code> not permitted).
   */
  public void test(TestHarness harness
  {
    MyFileChooser fc = new MyFileChooser();
    MyMetalFileChooserUI ui = new MyMetalFileChooserUI(fc);
    fc.setUI(ui);
    ComboBoxModel m = ui.createFilterComboBoxModel();
    harness.check(m.getSize(), 1);
    harness.check(m.getElementAt(0), fc.getFileFilter());
   
    ComboBoxModel m2 = ui.createFilterComboBoxModel();
    harness.check(m != m2);
  }
View Full Code Here

TOP

Related Classes of gnu.testlet.javax.swing.JFileChooser.MyFileChooser

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.