Retrieving a double from a JTextArea while solving for X
问题 Ok, I'm kinda new to java. I'm making a program that solves for one step equations. I'm having some difficulties running it though. Here is the code for my main file, Main.java : import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Main extends JFrame implements ActionListener { private static final long serialVersionUID = 1L; Solve solve = new Solve(); JButton add = new JButton("Add"); JButton sub = new JButton("Subtract"); JButton mult = new JButton("Multiply");