Move Swing Client out of core

Description

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)

Environment

None

Activity

Show:
Heng Sin Low
January 30, 2020, 3:44 PM

Move to

Carlos Ruiz
January 30, 2020, 6:48 PM

Hi , can you please check, I think you didn't commit the swingclient.product.launch because it is filtered in the .gitignore

Regards,

Carlos Ruiz

Heng Sin Low
January 31, 2020, 1:29 AM

Hi , ok, added.

Carlos Ruiz
February 12, 2020, 8:27 PM

Hi , 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?

WDYT?

Regards,

Carlos Ruiz

Heng Sin Low
February 16, 2020, 1:46 PM

Hi , 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.

Assignee

Heng Sin Low

Reporter

Heng Sin Low

Labels

None

Tested By

None

Components

Fix versions

Priority

Major
Configure