package jfcontrols.app;
/** jfControls : Main
*
* @author pquiring
*/
import javaforce.JFLog;
import javaforce.webui.*;
import jfcontrols.panels.*;
import jfcontrols.functions.*;
import jfcontrols.sql.*;
public class Main implements WebUIHandler {
public static String version = "0.1B";
public static void main(String args[]) {
//start database
SQLService.start();
//start logic server
FunctionService.main();
//start webui server
WebUIServer server = new WebUIServer();
server.start(new Main(), 34000, false);
}
public Panel getRootPanel(WebUIClient client) {
System.out.println("getRootPanel()");
return Panels.getPanel(new Panel(), "main", client);
}
public byte[] getResource(String string) {
System.out.println("getResource(" + string + ")");
return null;
}
}