diff --git a/README.md b/README.md new file mode 100644 index 0000000..fea3c81 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# ANOTACIONES +### Para compilar y ejecutar +* compilar con `javac Something.java` +* luego, ejecutar con `java Something` \ No newline at end of file diff --git a/Something.java b/Something.java index a072003..e5f326a 100644 --- a/Something.java +++ b/Something.java @@ -10,7 +10,7 @@ import java.io.FileInputStream; import java.io.FileNotFoundException; import javafx.scene.image.Image; import javafx.scene.image.ImageView; -import Bicicleta; +//import Bicicleta; public class Something extends Application { @@ -49,7 +49,7 @@ public class Something extends Application try{ //FileInputStream inputstream = new FileInputStream("file:javacleta.png"); - FileInputStream inputstream = new FileInputStream("javacleta.png"); + FileInputStream inputstream = new FileInputStream("bici.png"); //se setea el tamaƱo de la imagen! Image img = new Image(inputstream, 50, 50, false, false); //gc.drawImage(img, 0, 0); diff --git a/bic.png b/bici.png similarity index 100% rename from bic.png rename to bici.png Binary files a/bic.png and b/bici.png differ