Merged
Conversation
added 2 commits
July 3, 2014 17:11
This is because TWS 944 appears to have changed the menu structure so that although to the user it looks like there is a File > Exit menu item, in fact there isn't. There IS a File > Close menu item, but programmatically clicking that that doesn't actually do anything. Consequently in TWS 944 the STOP command, and the tidy exit configured by the ClosedownAt setting, don't work. The new approach is to send a WindowEvent.WINDOW_CLOSING message on the AWT system event queue, which is actually a lot simpler.
This was changed in an earlier commit, but I managed to revert it because of my incompetence with Git!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The STOP command was broken by TWS 944, which changed the structure of the TWS File menu.
This enhancement removes the dependency on knowing the menu structure.