josephino
josephino

Reputation: 360

Display CHM file in JavaFX app

Is there a way to display Compiled Help manual CHM in a javaFX app, without using java.awt.Desktop from AWT ?

Calling A CHM reader using Runtime.getRuntime().exec(help.chm) is an option, but to make it cross platform, this would require every user in mac, win and linux to have a CHM reader installed.

What's the best option for a cross platform solution ? should I extract it to HTML and display it in javafx.scene.web.WebView ?

Upvotes: 0

Views: 296

Answers (2)

Betsy
Betsy

Reputation: 71

enter image description here You should try this. It's works for me!

Upvotes: 0

M. le Rutte
M. le Rutte

Reputation: 3563

Given your wish to be platform independent, I'd advise to go to the HTML route as you yourself suggested. I don't know your reason for converting CHM to HTML if you also control the source, in that case I'd either use HTML directly or markdown to HTML.

Upvotes: 1

Related Questions