You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/06/09 03:41:43 UTC

[GitHub] [netbeans] JaroslavTulach commented on issue #1278: [NETBEANS-2604] Support SVG icon loading from ImageUtilities

JaroslavTulach commented on issue #1278: [NETBEANS-2604] Support SVG icon loading from ImageUtilities
URL: https://github.com/apache/netbeans/pull/1278#issuecomment-500182476
 
 
   > There is nothing holy about the platform/lib folder? 
   
   There are three kinds of `ClassLoader` in NetBeans Runtime 
   - `platform/lib` JARs are loaded by application classloader
   - `platform/core` JARs are loaded by enhanced NetBeans classloader, but fixed
   - `platform/modules` JARs are loaded by enhanced NetBeans classloader and fully dynamic
   
   To benefit from enhanced classloading features like [compatibility patching](http://wiki.netbeans.org/BackwardCompatibilityPatches) or [fast startup](http://wiki.apidesign.org/wiki/CacheForModularity), then it is essential to avoid placing JARs into `platform/lib` (and/or `platform/core`) folder.
   
   > As a desktop platform, NetBeans Platform must support vectorial icons out of the box
   
   Maybe, if desktop is your only focus, but ...
   
   > I'm curious which apps use the platform and would use a modern Apache NetBeans Platform
   > version but wouldn't want to support HiDPI screens?
   
   ... we are talking about  the [NetBeans Runtime Container](http://wiki.apidesign.org/wiki/NetBeans_Runtime_Container). People like @jlahoda, @tzezula and @sdedic spent a significant amount of time making sure NetBeans modules can be used in a headless mode. We are not going to ruin such efforts just because we want SVG icons.
   
   >  "SVG Loader" module with an SVGLoader interface and a separate "SVG Loader Implementation"
   
   That would seem OK from the runtime container point of view. However expect troubles at early stages of startup - for example you couldn't use SVG to render splash screen...
   
   Good luck!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists