Menu

#108 FR237 - Battle Window Opens in position it was last closed

Unstable (example)
closed-accepted
redrum
None
5
2015-07-08
2015-07-08
No

Patch file attached (and also attached to the feature request ticket as well)

Feature request - https://sourceforge.net/p/triplea/feature-requests/237

Change Summary:
Essentially for the battle window to open in the last position it was closed (multiple monitor case given and desire for window to keep opening up on a second monitor).

Implemented essentially by adding a couple of static variables to track position and size. If they are null we get default behavior, when the window closes they are set. When the window is opened we use any value that is set. It is not thread safe, but - doesn't matter so much.

1 Attachments

Discussion

  • redrum

    redrum - 2015-07-08

    Committed. Excellent work!

     
  • redrum

    redrum - 2015-07-08
    • status: open --> closed
    • assigned_to: redrum
     
  • redrum

    redrum - 2015-07-08
    • status: closed --> closed-accepted
     

Log in to post a comment.