i've made a program that takes user input and enters it into a formula. the answer form that formula is output in a JTextfield.
i'm self taught in Java, and i've only been programming for a couple weeks. (i'm a quick learner, just kinda confused with methods, threads, classes, etc..
i've looked up code on the web on how to print, but all i can find so far is how to print the entire container. i just want to print the output in a specific format from the JTextfield.
i don't have any code to put up here, cause i have NO clue what i need.
heres an example of what i want
JTextField output [3.141592654]
i want to just print this output, but formatted like "22 divided by 7 = 3.141592654"
i've tried mixing and matching code from printing the whole container, but i can't figure it out.