Home
Categories
Dictionary
Download
Project Details
Changes Log
Tutorials
FAQ
License

Distribution


There are several distributions for the library:
  • MDIFramework-core.jar: jar file containing the non UI the classes of the library. There are no Swing nor JavaFX dependencies for this library
  • MDIFramework-swingAll.jar: jar file containing all the classes of the library necessary for using the library on Swing. There are Swing dependencies for this library
  • MDIFramework-swing.jar: jar file containing the classes of the library usable on Swing. This jar file depends on the MDIFramework-core.jar jar file. There are Swing dependencies for this library. Note that a duplicate MDIFramework-ui.jar jar file (identical to the MDIFramework-swing.jar jar file) is provided to provide a drop-in replacement for old packaging
  • MDIFramework-jfxAll.jar: jar file containing all the classes of the library, usable on JavaFX. There are JavaFX dependencies for this library
  • MDIFramework-jfx.jar: jar file containing the classes of the library usable on JavaFX. This jar file depends on the MDIFramework-core.jar jar file. There are JavaFX dependencies for this library
  • bootstrap.jar: jar file containing only the core classes of the library, found in the bootstrap package
In short:
  • If you want to use the application in a non graphic environment, use MDIFramework-core.jar
  • If you want to use the application in a JavaFX environment, use MDIFramework-jfx.jar or MDIFramework-jfxAll.jar
  • If you want to use the application in a Swing environment, use MDIFramework-swing.jar or MDIFramework-swingAll.jar

distribs

Java 9 integration


All the jar files are Java 9 automatic modules. Java 9 does not allow modules to share packages, so each package must me exclusive to one module only.

So some Swing classes which were in the same package as core classes were put in specific swing packages to allow to use the MDIFramework-core.jar library with the MDIFramework-core.jar library starting with Java 9[1]
Prior to that change it was not possible to use both MDIFramework-core.jar and MDIUtilities-swing.jar in the same Java 9 project
.

All the jar files are Java 9 automatic modules. See ModuleFinder.of(Path...) for more information.

The name of the modules are:
  • MDIFramework-core.jar: org.mdiframework.core
  • MDIUtilities-bootstrap.jar: org.mdiframework.bootstrap
  • MDIUtilities-swingAll.jar: org.mdiframework.swing
  • MDIUtilities-jfxAll.jar: org.mdiframework.jfx
  • MDIUtilities-swing.jar: org.mdiframework.depends.ui
  • MDIUtilities-jfx.jar: org.mdiutil.depends.jfx

Notes

  1. ^ Prior to that change it was not possible to use both MDIFramework-core.jar and MDIUtilities-swing.jar in the same Java 9 project

Categories: general

Copyright 2006-2023 Herve Girod. All Rights Reserved. Documentation and source under the LGPL v2 and Apache 2.0 licences