I am writing a Math related program and I want to display the equations that the user inputs properly. I was thinking about using LaTeX to displaythe equations in a JTextField but need help puting that concept into code form.

Latex is simply a development environment, right?
Couldn't you just store the whole input into a string and then print it out with the answer?

but how do I import the LaTeX environment into my code?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.