Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~440 People Reached
Favorite Forums
Favorite Tags
java x 1
Member Avatar for Andrew_62

When i run my code i get this error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: How do I fix this? this is my code so far: import java.awt.Font; import javax.swing.*; public class Program7 public static void showOutput(String output) { JTextArea jta = new JTextArea(output); jta.setFont(new Font("Consolas", Font.PLAIN, 60)); JOptionPane.showMessageDialog(null, jta); } …

Member Avatar for Dani
0
440