/*
 * (c) 2009. Ivan Voras <ivoras@fer.hr>
 * Released under the 2-clause BSDL.
 */


package enotes;

import java.io.File;
import javax.swing.UIManager;

/**
 *
 * @author tbabej and company
 */
public class Main {

    static final String VERSION = "1.0beta6";

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception e) {}

        MainForm mf = new MainForm();
        mf.setSize(800, 550);
        mf.setLocationRelativeTo(null);
        mf.setVisible(true);

        if (args.length == 1) {
            File f = new File(args[0]);
            if (!f.canRead()) {
                System.err.println("File not found or access denied: "+args[0]);
                return;
            }
            if (!mf.internalOpenFile(new File(args[0])))
                System.err.println("Cannot open file: "+args[0]);
        }
    }

}

/*
 * (c) 2009. Ivan Voras <ivoras@fer.hr>
 * Released under the 2-clause BSDL.
 */


package enotes;

import java.io.File;
import javax.swing.UIManager;

/**
 *
 * @author ivoras
 */
public class Main {

    static final String VERSION = "1.0beta6";

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception e) {}

        MainForm mf = new MainForm();
        mf.setSize(800, 550);
        mf.setLocationRelativeTo(null);
        mf.setVisible(true);

        if (args.length == 1) {
            File f = new File(args[0]);
            if (!f.canRead()) {
                System.err.println("File not found or access denied: "+args[0]);
                return;
            }
            if (!mf.internalOpenFile(new File(args[0])))
                System.err.println("Cannot open file: "+args[0]);
        }
    }

}

--- 
+++ 
@@ -11,7 +11,7 @@
 
 /**
  *
- * @author ivoras
+ * @author tbabej and company
  */
 public class Main {
 
Update authors in the comment

We need to do this so that our teachers are not confused who wrote the
code.
