// get an invalid zip file as an URL URL url = < this is a very bad zip file > try { // create the Help factory JavaHelpFactory factory = new JavaHelpFactory(url); factory.create(); // create the viewer component JFXHelpContentViewer viewer = new JFXHelpContentViewer(); factory.install(viewer); Node pane = viewer.getComponent(); // do whatever you want with the Node } catch (IOException | SAXException ex) { ex.printStackTrace(); }The result will be:
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.