package jhpro.engine3d;
/*
This is a proprietary part of jHepWork package.
License: the Creative Commons Attribution-Share Alike License; either version 3.0 of the License,
or any later version.
http://creativecommons.org/licenses/by-sa/3.0/
Permission to use, copy and modify this software and its documentation for
NON-COMMERCIAL purposes is granted,
without fee, provided that an acknowledgement to the author, Dr Sergei Chekanov
appears in all copies and associated documentation or publications.
Redistributions of the source code, or parts of the source codes,
must retain the copyright notice, this list of conditions and the following disclaimer
(all at the top of each source code) and requires the written permission of Sergei Chekanov
Redistribution in binary form of all or parts of a class must reproduce the
copyright notice, this list of conditions and the following disclaimer in the documentation and/or other
materials provided with the distribution and requires the written permission of Sergei Chekanov
Details about license agreement or commercial use are: http://jwork.org/jhepwork/license.php
*/
import java.awt.*;
public class AppMain {
public static void main (String[] args) {
// define frame, its size and make it visible
String file="";
for (int i = 0; i < args.length; i++)
file=args[i];
System.out.println("Open file:"+file );
Frame myFrame = new HEngine3D(file);
myFrame.setBounds(10, 10, 700, 600); // this time use a predefined frame size/position
myFrame.setVisible(true);
} // end main method
} // end class
Ads help maintain this website.