This component is currently supporting Bootstrap 5. You can customize CSS yourself to break down dependencies to Bootstrap. You can pass the second paramater 'autoCorrectChecked' with value=true ...
If you don't use Java modules in your application, you also have to import the javafx.controls and javafx.fxml modules: Then, take a look at the JavadocViewerApp class of javadocviewer-app to see an ...