@Before
 public void setUp() throws Exception {
   telaLogin = new telaLogin();
   view.telaLogin.main(null);
   java.awt.EventQueue.invokeLater(
       new Runnable() {
         public void run() {
           telaLogin = new telaLogin();
           telaLogin.setVisible(true);
         }
       });
 }
  /** Test method for {@link Demo#Demo()}. */
  @Test
  public void testDemoGUI3() {

    /* Create and display the form */
    java.awt.EventQueue.invokeLater(
        new Runnable() {
          public void run() {
            new EarthSim.Demo().setVisible(true);
            EarthSim.Demo.curIteration = 0;
          }
        });

    UITestBot.Pause(10000);

    EarthSim.Demo.jComboBox1.setSelectedIndex(INITITIVE + 2);

    UITestBot.clickComponement(EarthSim.Demo.jComboBox1, 50, .50);
    UITestBot.clickComponement(EarthSim.Demo.jComboBox1, 50, .50);
    EarthSim.Demo.jComboBox1.setSelectedIndex(INITITIVE + 1);

    UITestBot.clickComponement(EarthSim.Demo.jGridSpcSlider1, 50, .50);
    UITestBot.clickComponement(EarthSim.Demo.jGridSpcSlider1, 50, .50);
    EarthSim.Demo.jGridSpcSlider1.setValue(GRID_ANGLE);

    UITestBot.clickComponement(EarthSim.Demo.jSimTmStpSlider2, 50, .50);
    UITestBot.clickComponement(EarthSim.Demo.jSimTmStpSlider2, 50, .50);
    EarthSim.Demo.jSimTmStpSlider2.setValue(TIMESTEP);

    UITestBot.clickComponement(EarthSim.Demo.jSlider3, 50, .50);
    UITestBot.clickComponement(EarthSim.Demo.jSlider3, 50, .50);
    EarthSim.Demo.jSlider3.setValue(PRESENTATION_RATE);

    UITestBot.clickComponement(EarthSim.Demo.jSlider4, 50, .50);
    UITestBot.clickComponement(EarthSim.Demo.jSlider4, 50, .50);
    EarthSim.Demo.jSlider4.setValue(BUFFER_SIZE);
    UITestBot.Pause(1000);

    UITestBot.clickComponement(EarthSim.Demo.simulationButton, 100, .50);
    assertTrue(true);
  }