diff --git a/pom.xml b/pom.xml
index c2852c8..ff24220 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,6 +13,34 @@
12
+
+
+
+ maven-assembly-plugin
+
+
+
+ nl.andrewlalis.blockbookbinder.BlockBookBinder
+
+
+
+ jar-with-dependencies
+
+ false
+
+
+
+ make-assembly
+ package
+
+ single
+
+
+
+
+
+
+
diff --git a/src/main/java/nl/andrewlalis/blockbookbinder/control/BookExportActionListener.java b/src/main/java/nl/andrewlalis/blockbookbinder/control/BookExportActionListener.java
index 8ff3858..88fde8a 100644
--- a/src/main/java/nl/andrewlalis/blockbookbinder/control/BookExportActionListener.java
+++ b/src/main/java/nl/andrewlalis/blockbookbinder/control/BookExportActionListener.java
@@ -13,6 +13,10 @@ import java.awt.event.ActionListener;
import java.util.logging.Level;
import java.util.logging.Logger;
+/**
+ * Action listener that is used for when a user decides to begin exporting a
+ * book to minecraft.
+ */
public class BookExportActionListener implements ActionListener {
private final BookPreviewPanel bookPreviewPanel;
private final Clipboard clipboard;
diff --git a/src/main/java/nl/andrewlalis/blockbookbinder/model/CharWidthMapper.java b/src/main/java/nl/andrewlalis/blockbookbinder/model/CharWidthMapper.java
index 21fe21d..9e31ede 100644
--- a/src/main/java/nl/andrewlalis/blockbookbinder/model/CharWidthMapper.java
+++ b/src/main/java/nl/andrewlalis/blockbookbinder/model/CharWidthMapper.java
@@ -14,7 +14,7 @@ public class CharWidthMapper {
}
public int getWidth(char c) {
- return this.charWidthMap.getOrDefault(c, 0);
+ return this.charWidthMap.getOrDefault(c, 6);
}
private void initCharWidthMap() {
diff --git a/src/main/java/nl/andrewlalis/blockbookbinder/view/SourceTextPanel.java b/src/main/java/nl/andrewlalis/blockbookbinder/view/SourceTextPanel.java
index b1af537..2c472f5 100644
--- a/src/main/java/nl/andrewlalis/blockbookbinder/view/SourceTextPanel.java
+++ b/src/main/java/nl/andrewlalis/blockbookbinder/view/SourceTextPanel.java
@@ -26,11 +26,6 @@ public class SourceTextPanel extends JPanel {
this.textArea = new JTextArea();
this.textArea.setWrapStyleWord(true);
this.textArea.setLineWrap(true);
- try {
- this.textArea.setText(Files.readString(Path.of(this.getClass().getClassLoader().getResource("sample/lorem_ipsum.txt").toURI())));
- } catch (IOException | URISyntaxException e) {
- e.printStackTrace();
- }
JScrollPane scrollWrappedMainTextArea = new JScrollPane(this.textArea, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
this.add(scrollWrappedMainTextArea, BorderLayout.CENTER);