{"action":"closed","issue":{"url":"https://api.github.com/repos/JChemPaint/jchempaint/issues/190","repository_url":"https://api.github.com/repos/JChemPaint/jchempaint","labels_url":"https://api.github.com/repos/JChemPaint/jchempaint/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/JChemPaint/jchempaint/issues/190/comments","events_url":"https://api.github.com/repos/JChemPaint/jchempaint/issues/190/events","html_url":"https://github.com/JChemPaint/jchempaint/issues/190","id":323712512,"number":190,"title":"Switch to using SWT instead of Swing","user":{"login":"Krzmbrzl","id":12751591,"avatar_url":"https://avatars1.githubusercontent.com/u/12751591?v=4","gravatar_id":"","url":"https://api.github.com/users/Krzmbrzl","html_url":"https://github.com/Krzmbrzl","followers_url":"https://api.github.com/users/Krzmbrzl/followers","following_url":"https://api.github.com/users/Krzmbrzl/following{/other_user}","gists_url":"https://api.github.com/users/Krzmbrzl/gists{/gist_id}","starred_url":"https://api.github.com/users/Krzmbrzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krzmbrzl/subscriptions","organizations_url":"https://api.github.com/users/Krzmbrzl/orgs","repos_url":"https://api.github.com/users/Krzmbrzl/repos","events_url":"https://api.github.com/users/Krzmbrzl/events{/privacy}","received_events_url":"https://api.github.com/users/Krzmbrzl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-16T17:17:00Z","updated_at":"2018-05-18T19:20:16Z","closed_at":"2018-05-18T19:20:16Z","author_association":"NONE","body":"As far as I can see, the application's UI is written in Swing (+ some AWT). Personally I just don't like the look of these (it always looks as if the UI was developed 10 years ago). I'd like to see the whole application making use of the SWT library which can create (in my opinion) up-to-date UIs.\r\n\r\nAs I do know that this would require quite a big rewrite I'd like to mention this right away: I'm not really expecting you to do it. I'd be willing to take over the work as my alternative would be to write a new program altogether which seems like a waste of time and resources given that JCP already exists. However before I start rewriting the code I'd like to get some feedback from your side on the following things:\r\n* How tightly is the application's functionality integrated into the UI-system? Or reformulated: Is the work done by the application (mainly) decoupled from the actual UI elements (maybe something like abstraction layers)?\r\n* Are there any big UI-changes planned in the near future\r\n* Do you think it is possible (with a reasonable amount of time) to switch all UI elements from Swing to SWT (e.g. have you used some super fancy UI-features)?\r\n* Does this program mainly use the CDK for all underlying operations (e.g. is JCP mainly a graphical frontend for the functions provided by the CDK)?\r\n\r\nThe overall goal I am seeing here would be to have a separate branch that uses the SWT library for the UI stuff but shares all  functional libraries. That way users could choose the UI they'd like to work with without having to worry about missing or broken functionality.\r\n\r\n\r\nI know that this is not really an issue or anything but it seemed like the best place to propose the whole thing. I hope you are not taking my suggesting as a criticism of the work you have done right here but rather as an appreciation and willingness to further improve it."}}
{"actor":{"display_login":"Krzmbrzl"}}