// Path: uistubgen/src/main/java/com/igormaznitsa/jjjvm/stubgen/utils/SplashDialog.java
// public class SplashDialog extends JDialog implements Runnable {
// 
//   private static final long serialVersionUID = 1812332099452703575L;
// 
//   protected final long delay;
// 
//   public SplashDialog(final String splashImagePath, final long delayToShow) {
//     super();
// 
//     this.delay = delayToShow;
// 
//     if (delayToShow <= 0) {
//       throw new IllegalArgumentException("Delay is less than zero or equ");
//     }
// 
//     setModal(true);
//     setUndecorated(true);
//     setResizable(false);
// 
//     final JPanel panel = new JPanel(new BorderLayout());
// 
//     final URL imgUrl = ClassLoader.getSystemResource(splashImagePath);
//     if (imgUrl == null) {
//       throw new IllegalArgumentException("Can't load splash image " + splashImagePath);
//     }
//     final ImageIcon splashImage = new ImageIcon(imgUrl);
//     panel.add(new JLabel(splashImage), BorderLayout.CENTER);
//     setContentPane(panel);
// 
//     final Dimension scrSize = Toolkit.getDefaultToolkit().getScreenSize();
//     pack();
// 
//     setLocation((scrSize.width - getWidth()) / 2, (scrSize.height - getHeight()) / 2);
//     setAlwaysOnTop(true);
// 
//     new Thread(this).start();
//     new Thread(new Runnable() {
//       @Override
//       public void run() {
//         setVisible(true);
//       }
//     }
//     ).start();
//   }
// 
//   @Override
//   public void run() {
//     while (!isVisible() && !Thread.currentThread().isInterrupted()) {
//       Thread.yield();
//     }
// 
//     if (Thread.currentThread().isInterrupted()) {
//       dispose();
//       return;
//     }
// 
//     try {
//       Thread.sleep(this.delay);
//     }
//     catch (Throwable thr) {
//     }
//     finally {
//       this.dispose();
//     }
//   }
// }


import com.igormaznitsa.jjjvm.stubgen.utils.SplashDialog;
import javax.swing.SwingUtilities;
/* 
 * Copyright 2015 Igor Maznitsa (http://www.igormaznitsa.com).
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.igormaznitsa.jjjvm.stubgen.jjjvmwrapper;


public class main {

  public static final String APPLICATION = "MJVM Stub Generator";
  public static final String VERSION = "1.0.5";
  public static final String AUTHOR = "Igor Maznitsa (rrg4400@gmail.com)";

  public static final void main(String... _args) {
// Path: uistubgen/src/main/java/com/igormaznitsa/jjjvm/stubgen/utils/SplashDialog.java
// public class SplashDialog extends JDialog implements Runnable {
// 
//   private static final long serialVersionUID = 1812332099452703575L;
// 
//   protected final long delay;
// 
//   public SplashDialog(final String splashImagePath, final long delayToShow) {
//     super();
// 
//     this.delay = delayToShow;
// 
//     if (delayToShow <= 0) {
//       throw new IllegalArgumentException("Delay is less than zero or equ");
//     }
// 
//     setModal(true);
//     setUndecorated(true);
//     setResizable(false);
// 
//     final JPanel panel = new JPanel(new BorderLayout());
// 
//     final URL imgUrl = ClassLoader.getSystemResource(splashImagePath);
//     if (imgUrl == null) {
//       throw new IllegalArgumentException("Can't load splash image " + splashImagePath);
//     }
//     final ImageIcon splashImage = new ImageIcon(imgUrl);
//     panel.add(new JLabel(splashImage), BorderLayout.CENTER);
//     setContentPane(panel);
// 
//     final Dimension scrSize = Toolkit.getDefaultToolkit().getScreenSize();
//     pack();
// 
//     setLocation((scrSize.width - getWidth()) / 2, (scrSize.height - getHeight()) / 2);
//     setAlwaysOnTop(true);
// 
//     new Thread(this).start();
//     new Thread(new Runnable() {
//       @Override
//       public void run() {
//         setVisible(true);
//       }
//     }
//     ).start();
//   }
// 
//   @Override
//   public void run() {
//     while (!isVisible() && !Thread.currentThread().isInterrupted()) {
//       Thread.yield();
//     }
// 
//     if (Thread.currentThread().isInterrupted()) {
//       dispose();
//       return;
//     }
// 
//     try {
//       Thread.sleep(this.delay);
//     }
//     catch (Throwable thr) {
//     }
//     finally {
//       this.dispose();
//     }
//   }
// }


// Path: uistubgen/src/main/java/com/igormaznitsa/jjjvm/stubgen/jjjvmwrapper/main.java
import com.igormaznitsa.jjjvm.stubgen.utils.SplashDialog;
import javax.swing.SwingUtilities;

/* 
 * Copyright 2015 Igor Maznitsa (http://www.igormaznitsa.com).
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.igormaznitsa.jjjvm.stubgen.jjjvmwrapper;


public class main {

  public static final String APPLICATION = "MJVM Stub Generator";
  public static final String VERSION = "1.0.5";
  public static final String AUTHOR = "Igor Maznitsa (rrg4400@gmail.com)";

  public static final void main(String... _args) {
    SwingUtilities.invokeLater(new Runnable() {