Examples of EdMenuBar


Examples of compilador.editor.gui.EdMenuBar

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

Examples of compilador.editor.gui.EdMenuBar

        //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);
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.