Package javax.swing.plaf.metal.MetalBorders

Examples of javax.swing.plaf.metal.MetalBorders.InternalFrameBorder


  }

  public void test2(TestHarness harness)     
  {
    harness.checkPoint("getBorderInsets(Component, Insets)");
    InternalFrameBorder b = new InternalFrameBorder();
    Insets insets = b.getBorderInsets(null, new Insets(1, 2, 3, 4));
    harness.check(insets, new Insets(5, 5, 5, 5));
   
    boolean pass = false;
    try
    {
      b.getBorderInsets(new JButton("Test"), null);
    }
    catch (NullPointerException e)
    {
      pass = true;
    }
View Full Code Here

TOP

Related Classes of javax.swing.plaf.metal.MetalBorders.InternalFrameBorder

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.