Coverage Report - com.timjohnstondev.unitconverter.Launcher
 
Classes in this File Line Coverage Branch Coverage Complexity
Launcher
0%
0/3
N/A
1
Launcher$1
0%
0/4
N/A
1
 
 1  
 /**
 2  
  * Copyright 2009 Timothy Johnston Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
 3  
  * file except in compliance with the License. You may obtain a copy of the License at
 4  
  * 
 5  
  * http://www.apache.org/licenses/LICENSE-2.0
 6  
  * 
 7  
  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 8  
  * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 9  
  * specific language governing permissions and limitations under the License.
 10  
  */
 11  
 package com.timjohnstondev.unitconverter;
 12  
 
 13  
 import java.awt.Window;
 14  
 import javax.swing.SwingUtilities;
 15  
 import com.timjohnstondev.unitconverter.view.UnitConverter;
 16  
 
 17  
 /**
 18  
  * This is the launcher class and window for this application.
 19  
  */
 20  
 public final class Launcher
 21  
 {
 22  
   private Launcher()
 23  0
   {}
 24  
 
 25  
   /**
 26  
    * Starts this application.
 27  
    * 
 28  
    * @param args ignored
 29  
    */
 30  
   public static void main(final String[] args)
 31  
   {
 32  0
     SwingUtilities.invokeLater(new Runnable()
 33  0
     {
 34  
       @Override
 35  
       public void run()
 36  
       {
 37  0
         final Window window = new UnitConverter();
 38  0
         window.setVisible(true);
 39  0
       }
 40  
     });
 41  0
   }
 42  
 }