
import javax.swing.*;
import ch.abacus.lib.ui.renderer.common.jdbc.JSSDataSource;
import ch.abacus.lib.ui.renderer.common.jdbc.JSSTextField;
import ch.abacus.lib.ui.renderer.abaRenderer.AbaRenderer;
import ch.abacus.lib.ui.*;

import java.io.*;
import java.awt.*;
import java.awt.event.MouseListener;
import java.awt.event.MouseEvent;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.*;
import java.awt.event.MouseListener;
import java.awt.event.MouseEvent;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;


public class  exec
{

    public static AbaRenderer  m_AbaRenderer ;

   // Assignments for this user interface


    public static void main(String[] args)
    {

		String docname = new String(args[0]);

	    try
        {
			if (docname.endsWith(".jar") && !docname.startsWith("http:"))
			{
				File docFile = new File(docname);
				if (docFile.exists())
					docname = docFile.getAbsolutePath();
			}

            System.out.println("Loading.." + docname);
			m_AbaRenderer = new AbaRenderer(docname, true , null);
            boolean bTestLoad = m_AbaRenderer.load();
            m_AbaRenderer.renderInterface();

        }
        catch(Exception e)
        {
           e.printStackTrace();
        }
    }


}




