JavaFX: Display PDF in WebView

后端 未结 1 2015
生来不讨喜
生来不讨喜 2021-01-19 09:28

I need to display a PDF inside the default WebView of JavaFX. I assumed, that i would easily be able to do that like this.

import javafx.application.Applicat         


        
1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-19 09:52

    JxBrowser which worked fine, but is a rather costly alternative.

    If you your application is an open-source project, you can obtain the JxBrowser Open-Source license here.

    0 讨论(0)
提交回复
热议问题