Examples of GecoWindow


Examples of net.geco.ui.GecoWindow

  public Geco() {
    if( GecoResources.platformIsMacOs() ) {
      GecoMacos.setupQuitAction(this);
    }
    window = new GecoWindow(this);
  }
View Full Code Here

Examples of net.geco.ui.GecoWindow

  @Test
  public void gecoWindowInitialization(){
    when(mockBuilder.buildUITabs(eq(mockGeco), any(JFrame.class))).thenReturn(new TabPanel[0]);
    when(mockBuilder.buildConfigPanels(eq(mockGeco), any(JFrame.class))).thenReturn(new ConfigPanel[0]);
    GecoWindow window = new GecoWindow(mockGeco);
    window.initGUI(mockBuilder);
    verify(mockBuilder, times(1)).buildUITabs(eq(mockGeco), eq(window));
    verify(mockBuilder, times(1)).buildConfigPanels(eq(mockGeco), eq(window));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.