Examples of redondear()


Examples of metodos.Base.redondear()

        if (!this.getTitulo().equals("")) {
            int ancho_titulo = this.titulo.length();
            ancho_titulo = ancho_titulo < 60 ? 60 : ancho_titulo;
            System.out.println(base.repetir("-", ancho_titulo  ));
            System.out.println("-" + base.redondear(this.titulo, ancho_titulo-2, true) + "-");
            System.out.println(base.repetir("-", ancho_titulo ));
        }
        int i = 0;
        for (i = 0; i < lista.size(); ++i) {
            MenuItem mi = lista.get(i);
View Full Code Here

Examples of metodos.Base.redondear()

        if (choosen == lista.size() + 1) {

            System.out.println("");
            System.out.println(base.repetir("*", 60));
            System.out.println(base.redondear("Adios, que tengas buen dia...", 60, true));
            System.out.println(base.repetir("*", 60));


            System.exit(1);
        } else if (choosen > lista.size() || choosen < 1) {
View Full Code Here

Examples of metodos.Base.redondear()

        } else if (choosen > lista.size() || choosen < 1) {


            System.out.println("");
            System.out.println(base.repetir("*", 60));
            System.out.println(base.redondear("Opcion Invalida, Presione Enter Para ir al Menu...", 60, true));
            System.out.println(base.repetir("*", 60));
            in.nextLine();
            in.nextLine();
            this.mostrar();
        } else {
View Full Code Here

Examples of metodos.Base.redondear()

            this.limpiarPantalla();

            if (!mi.isMenu() && !mi.getTexto().equals("Regresar")) {

                System.out.println(base.repetir("-", 60));
                System.out.println(base.redondear(mi.getTexto(), 60, true));
                System.out.println(base.repetir("-", 60));

                System.out.println("");
            }
            mc.ejecutar();
View Full Code Here

Examples of metodos.Base.redondear()


            System.out.println("");

            System.out.println(base.repetir("*", 60));
            System.out.println(base.redondear("Presione ENTER para ir al menu...", 60, true));
            System.out.println(base.repetir("*", 60));

            in.nextLine();
            in.nextLine();
            this.mostrar();
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.