aspose file tools*
The moose likes JavaFX and the fly likes Formulas in the Text control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Formulas in the Text control" Watch "Formulas in the Text control" New topic

Formulas in the Text control

Marco Schrank

Joined: Mar 05, 2011
Posts: 5


is there a 'natural' way to get a formula output in the gui?
Let's say something like an equation (not very complex) as content of a Text control or label.
I would like to avoid to do something like transform a latex equation to a png and add it as
an ImageView.

Thanks for any hints,

P.S.: I am still stuck with javafx 1.3.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3071

I am not sure if JavaFX supports it.

But it would be better if you could move to JavaFX 2.0 as you know JavaFX 1.3 is no longer supported. And you would surely want to get hold of the latest developments happening.

If you still want to stick with JavaFX script - you can check out the DSL- Visage.

Mohamed Sanaulla | My Blog
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 144
For JavaFX 2.0+ use in a webview to display math.
Some simple mathml ( equations will also work in webview.
An example of mathml usage in JavaFX is here: "Display a Quadratic formula in JavaFX using MathML in a WebView"
I agree. Here's the link:
subject: Formulas in the Text control