diff --git a/build/built-jar.properties b/build/built-jar.properties
index d8a6524..4f5ffb9 100644
--- a/build/built-jar.properties
+++ b/build/built-jar.properties
@@ -1,4 +1,4 @@
-#Sun, 05 May 2019 16:58:14 +0100
+#Sun, 05 May 2019 20:50:34 +0100
E\:\\Documents\\Sprite\ Sheet\ Creator\\Sprite-Sheet-Creator=
diff --git a/build/classes/sc/FXMLDocument.fxml b/build/classes/sc/FXMLDocument.fxml
index d6fec6d..d825ce2 100644
--- a/build/classes/sc/FXMLDocument.fxml
+++ b/build/classes/sc/FXMLDocument.fxml
@@ -1,5 +1,6 @@
+
@@ -15,15 +16,513 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
diff --git a/build/classes/sc/FXMLDocumentController.class b/build/classes/sc/FXMLDocumentController.class
index 5461c64..e4ab108 100644
Binary files a/build/classes/sc/FXMLDocumentController.class and b/build/classes/sc/FXMLDocumentController.class differ
diff --git a/build/classes/sc/SC.class b/build/classes/sc/SC.class
index 237417a..14028c7 100644
Binary files a/build/classes/sc/SC.class and b/build/classes/sc/SC.class differ
diff --git a/build/classes/sc/stylesheet.css b/build/classes/sc/stylesheet.css
index e48b687..bf2ce32 100644
--- a/build/classes/sc/stylesheet.css
+++ b/build/classes/sc/stylesheet.css
@@ -1,3 +1,10 @@
.canvas{
-fx-background-color: antiquewhite, white ;
}
+
+.gridButton{
+ -fx-border-color: transparent;
+ -fx-border-width: 0;
+ -fx-background-radius: 0;
+ -fx-background-color: transparent;
+}
\ No newline at end of file
diff --git a/dist/SC.html b/dist/SC.html
index 4a7ad27..d29472a 100644
--- a/dist/SC.html
+++ b/dist/SC.html
@@ -4,7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XZhZngtZGVzYyAgd2lkdGg9IjgwMCIgaGVpZ2h0PSI2MDAiIG1haW4tY2xhc3M9InNjLlNDIiAgbmFtZT0iU0MiIC8+DQogIDx1cGRhdGUgY2hlY2s9ImFsd2F5cyIvPg0KPC9qbmxwPg0K'
+ jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iU0Muam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+U0M8L3RpdGxlPg0KICAgIDx2ZW5kb3I+bHVrZWE8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+bnVsbDwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPg0KICAgIDxqYXIgaHJlZj0iU0MuamFyIiBzaXplPSIzNDY4NiIgZG93bmxvYWQ9ImVhZ2VyIiAvPg0KICA8L3Jlc291cmNlcz4NCiAgPGpmeDpqYXZhZngtZGVzYyAgd2lkdGg9IjgwMCIgaGVpZ2h0PSI2MDAiIG1haW4tY2xhc3M9InNjLlNDIiAgbmFtZT0iU0MiIC8+DQogIDx1cGRhdGUgY2hlY2s9ImFsd2F5cyIvPg0KPC9qbmxwPg0K'
},
{
javafx : '8.0+'
diff --git a/dist/SC.jar b/dist/SC.jar
index 8d91e8d..5894fc8 100644
Binary files a/dist/SC.jar and b/dist/SC.jar differ
diff --git a/dist/SC.jnlp b/dist/SC.jnlp
index a728065..e368019 100644
--- a/dist/SC.jnlp
+++ b/dist/SC.jnlp
@@ -8,7 +8,7 @@
-
+
diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml
index 6807a2b..e052f7d 100644
--- a/nbproject/private/private.xml
+++ b/nbproject/private/private.xml
@@ -2,6 +2,11 @@
-
+
+ file:/E:/Documents/Sprite%20Sheet%20Creator/Sprite-Sheet-Creator/src/sc/stylesheet.css
+ file:/E:/Documents/Sprite%20Sheet%20Creator/Sprite-Sheet-Creator/src/sc/FXMLDocument.fxml
+ file:/E:/Documents/Sprite%20Sheet%20Creator/Sprite-Sheet-Creator/src/sc/SC.java
+ file:/E:/Documents/Sprite%20Sheet%20Creator/Sprite-Sheet-Creator/src/sc/FXMLDocumentController.java
+
diff --git a/nbproject/private/retriever/catalog.xml b/nbproject/private/retriever/catalog.xml
new file mode 100644
index 0000000..e69de29
diff --git a/src/sc/FXMLDocument.fxml b/src/sc/FXMLDocument.fxml
index d6fec6d..d7eee61 100644
--- a/src/sc/FXMLDocument.fxml
+++ b/src/sc/FXMLDocument.fxml
@@ -1,5 +1,6 @@
+
@@ -15,15 +16,512 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
diff --git a/src/sc/FXMLDocumentController.java b/src/sc/FXMLDocumentController.java
index d240627..281b9bb 100644
--- a/src/sc/FXMLDocumentController.java
+++ b/src/sc/FXMLDocumentController.java
@@ -10,6 +10,7 @@
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.ResourceBundle;
@@ -24,6 +25,7 @@
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
+import javafx.scene.control.Button;
import javafx.scene.control.ButtonType;
import javafx.scene.control.ComboBox;
import javafx.scene.control.Label;
@@ -46,6 +48,8 @@ public class FXMLDocumentController implements Initializable {
@FXML
private ComboBox combobox;
+ int index = 0;
+
ArrayList images = new ArrayList<>();
int resolution = 128;
@FXML
@@ -59,6 +63,20 @@ public class FXMLDocumentController implements Initializable {
GraphicsContext workGC;
GraphicsContext displayGC;
+ Button lastClicked;
+ Button lastlastCliked;
+
+ ArrayList