Using Font from my JAR
问题 I have added a font to my JAR file from eclipse and am trying to use the font within JTextFields. The setText isn't being drawn when I run the application, just a - in the JTextField. I based my code off Exporting font to jar in eclipse. Below is my code: //lets load the font Font font = Font.createFont(Font.TRUETYPE_FONT, Main.class.getClassLoader().getResourceAsStream("Coalition_v2.ttf")); font.deriveFont(Font.PLAIN, 14); txtBrain = new JTextField(); txtBrain.setFont(font); txtBrain.setText