Search:

Type: Posts; User: frozen java

Search: Search took 0.11 seconds.

  1. Thread: drawString

    by frozen java
    Replies
    17
    Views
    2,581

    Re: drawString

    ok heres all the classes involved:

    getInput:

    package Algebra;

    import java.awt.Graphics2D;

    import javax.swing.JOptionPane;
    import Algebra.Functions.*;
  2. Thread: drawString

    by frozen java
    Replies
    17
    Views
    2,581

    Re: drawString

    im importing
    import java.awt.Graphics2D;

    into getInput wich is correct
  3. Thread: drawString

    by frozen java
    Replies
    17
    Views
    2,581

    Re: drawString

    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....
  4. Thread: drawString

    by frozen java
    Replies
    17
    Views
    2,581

    Re: drawString

    so what would need to go in place of that?
  5. Thread: drawString

    by frozen java
    Replies
    17
    Views
    2,581

    Re: drawString

    would this be causing the problem?



    twostep.math(null);


    that is in the getInput class
  6. Thread: drawString

    by frozen java
    Replies
    17
    Views
    2,581

    Re: drawString

    that variable is defined by the user it has a value but for some reason drawString isnt recognizing it
  7. Thread: drawString

    by frozen java
    Replies
    17
    Views
    2,581

    Re: drawString

    ok i added the error it get
  8. Thread: drawString

    by frozen java
    Replies
    17
    Views
    2,581

    drawString

    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...
Results 1 to 8 of 8