1. Remove dependency on Restlet 2. Move swing client out of core to a new repository (idempiere-swing-client)
Environment
None
Activity
Heng Sin Low
February 16, 2020 at 1:46 PM
Hi @Carlos Ruiz, I've move the 3 method to AEnv at idempiere-swing-client repo. For image icon, it is needed by swing and also our visualization of workflow nodes. I don't have a quick fix for that and will leave it as it is for now.
Carlos Ruiz
February 12, 2020 at 8:27 PM
Hi @Heng Sin Low, I found that org.compiere.util.Env has some dependencies on java.awt and javax.swing packages that are just intended for the swing client.
I would suggest to move the methods: Env.getGraphics Env.getParent Env.getImage to the swing client.
Also - not sure if the method Env.getImageIcon that is used in MTreeNode class is correct to be using a javax.swing object. Would be better to change that to use a non-swing object?
This will be a two step process:
1. Remove dependency on Restlet
2. Move swing client out of core to a new repository (idempiere-swing-client)