Examples of GUI


Examples of de.matthiasmann.twl.GUI

        GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS);
        try {
            Renderer renderer = new LWJGLRenderer();
            ThemeManager theme = loadTheme(renderer);

            gui = new GUI(emptyRootWidget, renderer, null);
            gui.applyTheme(theme);

            Input input = getContainer().getInput();
            TWLInputForwarder inputForwarder = new TWLInputForwarder(gui, input);
            input.addPrimaryListener(inputForwarder);
View Full Code Here

Examples of fr.utbm.gi.vi51.pw.gui.GUI

        LocalizedString.get(MainProgram.class, "USE_STEERING_MESSAGE"), //$NON-NLS-1$
        LocalizedString.get(MainProgram.class, "USE_STEERING_TITLE"), //$NON-NLS-1$
        JOptionPane.YES_NO_OPTION,
        JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION;

    FrameworkGUI gui = new GUI(WORLD_SIZE_X, WORLD_SIZE_Y);
   
    Environment environment = new WorldModel(WORLD_SIZE_X, WORLD_SIZE_Y);
   
    FrameworkLauncher.launchEnvironment(environment, gui, EXECUTION_DELAY);
View Full Code Here

Examples of fr.utbm.gi.vi51.pw.gui.GUI

        LocalizedString.get(MainProgram.class, "USE_STEERING_MESSAGE"), //$NON-NLS-1$
        LocalizedString.get(MainProgram.class, "USE_STEERING_TITLE"), //$NON-NLS-1$
        JOptionPane.YES_NO_OPTION,
        JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION;

    FrameworkGUI gui = new GUI(WORLD_SIZE_X, WORLD_SIZE_Y);
   
    Environment environment = new WorldModel(WORLD_SIZE_X, WORLD_SIZE_Y);
   
    FrameworkLauncher.launchEnvironment(environment, gui, EXECUTION_DELAY);
View Full Code Here

Examples of gui.Gui

  {
    try
    {
      myDict = new DictReader("dict.txt");
      myGen = new BoggleFieldGenerator(DiceSetReader.readDiceSet("nl.txt"));
      myGui = new Gui(this);
      currentfield = myGen.generateField();
      myGui.setField(currentfield);
    }
    catch (InvalidDiceSetException e)
    {
View Full Code Here

Examples of gui.Gui

public class marcel extends Applet{
    String open;
    String boot;
    public static void main(String[] args) {
        new Gui();
    }
View Full Code Here

Examples of gui.Gui

    }
   
    public void init() {
        open = this.getParameter("FILE");
        boot = this.getParameter("BOOT");
        Gui applet = new Gui(this.getCodeBase(), true);
        if (open!=null)
            applet.setK7FromUrl(this.getCodeBase() + open);
        applet.machine.setBoot(boot);
    }
View Full Code Here

Examples of gui.Gui

    String boot;
    public void init() {
        selector = new Selector();
        open = this.getParameter("FILE");
        boot = this.getParameter("BOOT");
        applet = new Gui(this.getCodeBase(), false);
        if (open!=null)
            applet.setK7FromUrl(this.getCodeBase() + open);
        applet.machine.testtimer = 0;
        applet.machine.setBoot(boot);
        this.setLayout(new BorderLayout());
View Full Code Here

Examples of hexenschach.gui.GUI

    } catch (FileNotFoundException fnfe) {
    } catch (SecurityException se) {
    }*/
   
    p = new Persistence();
    gui = new GUI(p);
    checkDisplayResolution();
    gui.start();
  }
View Full Code Here

Examples of net.fenyo.gnetwatch.GUI

  public static void main(final String[] args)
    throws IOException, FileNotFoundException, InterruptedException, AlgorithmException {
    Config config = null;
    Synchro synchro = null;
    Background background = null;
    GUI gui = null;
    Main main = null;
    SNMPManager snmp_manager = null;
    CaptureManager capture_mgr = null;

    if (args.length > 0) {
      if (args.length == 4 && args[0].equals("import") && args[1].equals("source")) {
        importGenericSrc(args);
        return;
      }
      log.error("invalid arguments");
      System.exit(1);
    }

    // Get configuration properties
    config = new Config();

    // Set debug level
    // debug level 1: simulate hundreds of ping per second to check the DB and hibernate abilities to handle lots of events
    config.setDebugLevel(0);

    // Read general logging rules
    GenericTools.initLogEngine(config);
    log.info(config.getString("log_engine_initialized"));
    log.info(config.getString("begin"));

    /*
    final MessageBox dialog = new MessageBox(new Shell(new org.eclipse.swt.widgets.Display()),
        SWT.ICON_QUESTION | SWT.YES | SWT.NO);
    // traduire
    dialog.setText("GNetWatch startup");
    dialog.setMessage("Database Selection:\ndo you want to erase the current database content ?");
    dialog.open();
    */

    // Initialize Object-Relational mapping
    synchro = new Synchro(config);

    // Do not check SSL certificates
    SSLContext ssl_context = null;
    try {
      ssl_context = SSLContext.getInstance("SSL");
      ssl_context.init(null, new TrustManager [] { new NoCheckTrustManager() }, new SecureRandom());
    } catch (final NoSuchAlgorithmException ex) {
      log.error("Exception", ex);
    } catch (final KeyManagementException ex) {
      log.error("Exception", ex);
    }
    HttpsURLConnection.setDefaultSSLSocketFactory(ssl_context.getSocketFactory());
    HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier () {
      public final boolean verify(String hostname, SSLSession session) {
        return true;
      }
    });
   
    // Initialize background processes management
    background = new Background(config);
    background.createBackgroundThread();

    // Initialize packet capture on every interface
    capture_mgr = new CaptureManager(config);

    // Initialize main processes management
    main = new Main(config, capture_mgr);

    // Build SNMP Manager
    snmp_manager = new SNMPManager();

    // Build GUI
    gui = new GUI(config, background, main, snmp_manager, synchro);
    main.setGUI(gui);
    capture_mgr.setGUI(gui);
    gui.waitForCreation();

    // Initial configuration
    gui.createFromXML(gui.getConfig().getProperty("initialobjects"));

    // Move the GUI to the top of the drawing order
    gui.showGUI();

    // merge events at startup
    background.informQueue("merge-1", gui);

    // Wait for the GUI to terminate
    gui.join();
    // The GUI is now closed
    log.info(config.getString("end"));

    // Stop every application thread
    config.setEnd();
    gui.end();
    background.end();
    capture_mgr.unRegisterAllListeners();

    // stop synchronizing
    synchro.end();
View Full Code Here

Examples of oxygenoffice.extensions.smart.gui.Gui

    }

    public void setGui(){
        if(m_Gui == null){
            if(m_xContext != null && m_xFrame != null)
                m_Gui = new Gui(this, m_xContext, m_xFrame);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.