Java 类javax.swing.plaf.metal.MetalSplitPaneUI 实例源码

项目:cn1    文件:JSplitPaneTest.java   
public void testGetSetUpdateUI() throws Exception {
    assertNotNull(pane.getUI());
    SplitPaneUI ui = new MetalSplitPaneUI();
    pane.setUI(ui);
    assertEquals(ui, pane.getUI());
    pane.updateUI();
    assertNotSame(ui, pane.getUI());
}
项目:freeVM    文件:JSplitPaneTest.java   
public void testGetSetUpdateUI() throws Exception {
    assertNotNull(pane.getUI());
    SplitPaneUI ui = new MetalSplitPaneUI();
    pane.setUI(ui);
    assertEquals(ui, pane.getUI());
    pane.updateUI();
    assertNotSame(ui, pane.getUI());
}
项目:freeVM    文件:JSplitPaneTest.java   
public void testGetSetUpdateUI() throws Exception {
    assertNotNull(pane.getUI());
    SplitPaneUI ui = new MetalSplitPaneUI();
    pane.setUI(ui);
    assertEquals(ui, pane.getUI());
    pane.updateUI();
    assertNotSame(ui, pane.getUI());
}