ok heres all the classes involved:
getInput:
package Algebra;
import java.awt.Graphics2D;
import javax.swing.JOptionPane;
import Algebra.Functions.*;
Type: Posts; User: frozen java
ok heres all the classes involved:
getInput:
package Algebra;
import java.awt.Graphics2D;
import javax.swing.JOptionPane;
import Algebra.Functions.*;
im importing
import java.awt.Graphics2D;
into getInput wich is correct
ok so in paintComponet i called twostep.math(g)
public void paintComponet(Graphics2D g) {
super.paintComponent(g);
twostep.math(g);
}
in getInput i was still having a problem with....
so what would need to go in place of that?
would this be causing the problem?
twostep.math(null);
that is in the getInput class
that variable is defined by the user it has a value but for some reason drawString isnt recognizing it
ok i added the error it get
What im trying to do is to make the information outprint in the paint i made. but that is a different class so i have no clue how i would go about doing this
package Algebra.Functions;
import...