Van icon

JAVA COPYPASTE

Links


    //main
    /*
    * TAREA XX 
    * Alberto Toribio 
    */
   package XXXXXXXXX;
   
   public class Main {
   
       public static void main(String[] args) {

       }
   }
   
    


    //JAVA FX1
    package hellofx;

    import javafx.application.Application;
    import javafx.fxml.FXMLLoader;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.stage.Stage;

    public class Main extends Application {

        @Override
        public void start(Stage primaryStage) throws Exception{
            Parent root = FXMLLoader.load(getClass().getResource("hellofx.fxml"));
            primaryStage.setTitle("Hello Albert");
            primaryStage.setScene(new Scene(root));
            primaryStage.show();
        }

        public static void main(String[] args) {
            launch(args);
        }
    }
    


    //ARCHIVOS ORGANIZACION PROFE
    Scene
    stdin = lectura entrada de texto
    stoud = escritura de la salida de texto
    sterr = notificar errores

    INTERNACIONALIZACION
    Netbeans
        Tools internacionalize
        Choose Bundlename
    SceneBuilder
        % es un literal 
        PREVIEW Internacionalización y elegir el 
        En properties 
        también en el archivo de propiedades del fxml (editar)