Package compilador.editor

Examples of compilador.editor.Editor


import pruebas.ReadingFile;

public class Launcher {
  public static void main (String args[]){
    //ReadingFile v = new ReadingFile("Textos txt");
    Editor v = new Editor("EditorMJ", args, new EditorExe("sd",args));
    EdMenuBar BarraMenu = new EdMenuBar(v);
    Toolkit tk = Toolkit.getDefaultToolkit();
    Dimension screenSize = tk.getScreenSize();
    int toRestHeight = 150;
    int toRestWidth = 120;
   
    //v.setJMenuBar(v.createMenuBar());
    v.setJMenuBar(BarraMenu.createMenuBar());
    //v.setEdMenuBar(BarraMenu);
    v.setBounds(toRestWidth/2,toRestHeight/2,
        screenSize.width-toRestWidth, screenSize.height-toRestHeight);
        //v.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    v.setVisible(true);
   
  }
View Full Code Here


      for(int a=0;a<1;a++){
        EscribeInfo("Cargando interfaz",1);
        //fs.getProgreso().setValue(10);
        Thread.sleep(100);
       
    Editor v = new Editor("Editor", args, this);
    //EscribeInfo("Cargando menu",14/TotalCargas);
    EdMenuBar BarraMenu = new EdMenuBar(v);
    EscribeInfo("Cargando interfaz",15);
   
   
    Toolkit tk = Toolkit.getDefaultToolkit();
    Dimension screenSize = tk.getScreenSize();
    int toRestHeight = 220;
    int toRestWidth = 220;
   
    //v.setJMenuBar(v.createMenuBar());
    v.setJMenuBar(BarraMenu.createMenuBar());
    //v.setEdMenuBar(BarraMenu);
    v.setBounds(toRestWidth/2,toRestHeight/2,
        screenSize.width-toRestWidth, screenSize.height-toRestHeight);
        //v.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    v.setVisible(false);
    //EscribeInfo("Listo-",16/16);
    fs.getProgreso().setValue(100);
        Thread.sleep(400);
        v.setVisible(true);
      }
    }catch(Exception e){
     
    }
   
View Full Code Here

TOP

Related Classes of compilador.editor.Editor

Copyright © 2018 www.massapicom. 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.