📜  javafx html 工具提示 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:22.135000             🧑  作者: Mango

代码示例1
WebView  web = new WebView();
WebEngine webEngine = web.getEngine();
webEngine.loadContent
(
    "AlgorithmType: " + paggingTest.getAlgorithmType()
    + "
Memory Pages: " + paggingTest.getMemoryPages() + "
Program Pages: " + paggingTest.getProgramPages() + "
Sample Count: " + paggingTest.getSampleCount() + "
Distribution Type: " + paggingTest.getDistributionType() ); Tooltip tip = new Tooltip(); tip.setContentDisplay(ContentDisplay.GRAPHIC_ONLY); tip.setGraphic(web);