payload: {"action":"created","comment":{"url":"https://api.github.com/repos/MegaMek/mekhq/pulls/comments/335234513","pull_request_review_id":302268048,"id":335234513,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzNTIzNDUxMw==","diff_hunk":"@@ -369,12 +369,17 @@ public void actionPerformed(ActionEvent ae) {\n             public void mouseClicked(MouseEvent e) {\n                 if (e.getButton() == MouseEvent.BUTTON1) {\n                     if (e.getClickCount() >= 2) {\n-                        //center and zoom\n+                      //center and zoom\n                         changeSelectedSystem(nearestNeighbour(scr2mapX(e.getX()), scr2mapY(e.getY())));\n                         if(conf.scale < 4.0) {\n                             conf.scale = 4.0;\n                         }\n                         center(selectedSystem);\n+                        //bring up planetary system map\n+                        ((MapTab)hqview.getTab(GuiTabType.MAP)).switchPlanetaryMap(selectedSystem);","path":"MekHQ/src/mekhq/gui/InterstellarMapPanel.java","position":12,"original_position":12,"commit_id":"aec96dd06a6617eb30ad8e97d20e1249f544f4b5","original_commit_id":"540ac091f318b9cc2f098a53ffa6c3db66c68ab5","user":{"login":"neoancient","id":16927464,"node_id":"MDQ6VXNlcjE2OTI3NDY0","avatar_url":"https://avatars3.githubusercontent.com/u/16927464?v=4","gravatar_id":"","url":"https://api.github.com/users/neoancient","html_url":"https://github.com/neoancient","followers_url":"https://api.github.com/users/neoancient/followers","following_url":"https://api.github.com/users/neoancient/following{/other_user}","gists_url":"https://api.github.com/users/neoancient/gists{/gist_id}","starred_url":"https://api.github.com/users/neoancient/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neoancient/subscriptions","organizations_url":"https://api.github.com/users/neoancient/orgs","repos_url":"https://api.github.com/users/neoancient/repos","events_url":"https://api.github.com/users/neoancient/events{/privacy}","received_events_url":"https://api.github.com/users/neoancient/received_events","type":"User","site_admin":false},"body":"We could add specific methods for the standard tabs, but the generic one is there to support plugins adding their own custom tabs.","created_at":"2019-10-16T00:32:03Z","updated_at":"2019-10-16T00:32:03Z","html_url":"https://github.com/MegaMek/mekhq/pull/1309#discussion_r335234513","pull_request_url":"https://api.github.com/repos/MegaMek/mekhq/pulls/1309","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/MegaMek/mekhq/pulls/comments/335234513"},"html":{"href":"https://github.com/MegaMek/mekhq/pull/1309#discussion_r335234513"},"pull_request":{"href":"https://api.github.com/repos/MegaMek/mekhq/pulls/1309"}},"in_reply_to_id":335137986},"pull_request":{"url":"https://api.github.com/repos/MegaMek/mekhq/pulls/1309","id":328407377,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI4NDA3Mzc3","html_url":"https://github.com/MegaMek/mekhq/pull/1309","diff_url":"https://github.com/MegaMek/mekhq/pull/1309.diff","patch_url":"https://github.com/MegaMek/mekhq/pull/1309.patch","issue_url":"https://api.github.com/repos/MegaMek/mekhq/issues/1309","number":1309,"state":"open","locked":false,"title":"Planetary System Map","user":{"login":"AaronGullickson","id":16107446,"node_id":"MDQ6VXNlcjE2MTA3NDQ2","avatar_url":"https://avatars2.githubusercontent.com/u/16107446?v=4","gravatar_id":"","url":"https://api.github.com/users/AaronGullickson","html_url":"https://github.com/AaronGullickson","followers_url":"https://api.github.com/users/AaronGullickson/followers","following_url":"https://api.github.com/users/AaronGullickson/following{/other_user}","gists_url":"https://api.github.com/users/AaronGullickson/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronGullickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronGullickson/subscriptions","organizations_url":"https://api.github.com/users/AaronGullickson/orgs","repos_url":"https://api.github.com/users/AaronGullickson/repos","events_url":"https://api.github.com/users/AaronGullickson/events{/privacy}","received_events_url":"https://api.github.com/users/AaronGullickson/received_events","type":"User","site_admin":false},"body":"This map adds a planetary system map that displays al of the planets and stars in a system as well as information about the position of the player's unit when in system.\r\n\r\n![Screen Shot 2019-10-15 at 11 22 00 AM](https://user-images.githubusercontent.com/16107446/66858525-5257b000-ef3e-11e9-9763-370aa57b13ba.png)\r\n\r\nThe screenshot above shows most of the features of this map. In this case, the player's unit is outbound from the planet to the zenith point. Nadir and zenith points show a recharge station image when a recharge station is present and a jumpship is shown to indicate where the unit's jumpship transports are located. The selection of zenith or nadir point has been added to current location. When only one point has a recharge station, it is chosen - otherwise it is chosen randomly.  I have also placed an orange reticule around the player's unit to be consistent with the interstellar planet. That can vary between a jumpship at the recharge point, in transit on a dropship, or on planet. \r\n\r\nThe planets are selectable by the cursor to get information in the planet view panel and you can also use the arrow keys or a/d, or w/s to cycle through them. I am a little frustrated that the cursor seems to sometimes require a double-click because of what I believe is a focusing issue, but I can't seem to figure out a solution for this minor issue. \r\n\r\nYou get to this map from the interstellar map by double-clicking a system. You can go back with the back button or the escape key.\r\n\r\nAt some point, I might like to add more information to the display with icons for factions, population size, moons, etc. but I think this PR should at least give us a nice graphical display to go along with the changes to the planetary system refactoring as a first effort. \r\n\r\nThe code for the PR should be ready for review. @HammerGS is working on getting a more diverse selection of planet icons to use for the actual PR but that should not affect the code, just the data. ","created_at":"2019-10-15T18:33:37Z","updated_at":"2019-10-16T00:32:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3479dcfbb3567b606e326661de1fdc1020f7934d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MegaMek/mekhq/pulls/1309/commits","review_comments_url":"https://api.github.com/repos/MegaMek/mekhq/pulls/1309/comments","review_comment_url":"https://api.github.com/repos/MegaMek/mekhq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MegaMek/mekhq/issues/1309/comments","statuses_url":"https://api.github.com/repos/MegaMek/mekhq/statuses/aec96dd06a6617eb30ad8e97d20e1249f544f4b5","head":{"label":"AaronGullickson:system_map","ref":"system_map","sha":"aec96dd06a6617eb30ad8e97d20e1249f544f4b5","user":{"login":"AaronGullickson","id":16107446,"node_id":"MDQ6VXNlcjE2MTA3NDQ2","avatar_url":"https://avatars2.githubusercontent.com/u/16107446?v=4","gravatar_id":"","url":"https://api.github.com/users/AaronGullickson","html_url":"https://github.com/AaronGullickson","followers_url":"https://api.github.com/users/AaronGullickson/followers","following_url":"https://api.github.com/users/AaronGullickson/following{/other_user}","gists_url":"https://api.github.com/users/AaronGullickson/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronGullickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronGullickson/subscriptions","organizations_url":"https://api.github.com/users/AaronGullickson/orgs","repos_url":"https://api.github.com/users/AaronGullickson/repos","events_url":"https://api.github.com/users/AaronGullickson/events{/privacy}","received_events_url":"https://api.github.com/users/AaronGullickson/received_events","type":"User","site_admin":false},"repo":{"id":147435194,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc0MzUxOTQ=","name":"mekhq","full_name":"AaronGullickson/mekhq","private":false,"owner":{"login":"AaronGullickson","id":16107446,"node_id":"MDQ6VXNlcjE2MTA3NDQ2","avatar_url":"https://avatars2.githubusercontent.com/u/16107446?v=4","gravatar_id":"","url":"https://api.github.com/users/AaronGullickson","html_url":"https://github.com/AaronGullickson","followers_url":"https://api.github.com/users/AaronGullickson/followers","following_url":"https://api.github.com/users/AaronGullickson/following{/other_user}","gists_url":"https://api.github.com/users/AaronGullickson/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronGullickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronGullickson/subscriptions","organizations_url":"https://api.github.com/users/AaronGullickson/orgs","repos_url":"https://api.github.com/users/AaronGullickson/repos","events_url":"https://api.github.com/users/AaronGullickson/events{/privacy}","received_events_url":"https://api.github.com/users/AaronGullickson/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AaronGullickson/mekhq","description":"MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.","fork":true,"url":"https://api.github.com/repos/AaronGullickson/mekhq","forks_url":"https://api.github.com/repos/AaronGullickson/mekhq/forks","keys_url":"https://api.github.com/repos/AaronGullickson/mekhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AaronGullickson/mekhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AaronGullickson/mekhq/teams","hooks_url":"https://api.github.com/repos/AaronGullickson/mekhq/hooks","issue_events_url":"https://api.github.com/repos/AaronGullickson/mekhq/issues/events{/number}","events_url":"https://api.github.com/repos/AaronGullickson/mekhq/events","assignees_url":"https://api.github.com/repos/AaronGullickson/mekhq/assignees{/user}","branches_url":"https://api.github.com/repos/AaronGullickson/mekhq/branches{/branch}","tags_url":"https://api.github.com/repos/AaronGullickson/mekhq/tags","blobs_url":"https://api.github.com/repos/AaronGullickson/mekhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AaronGullickson/mekhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AaronGullickson/mekhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/AaronGullickson/mekhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AaronGullickson/mekhq/statuses/{sha}","languages_url":"https://api.github.com/repos/AaronGullickson/mekhq/languages","stargazers_url":"https://api.github.com/repos/AaronGullickson/mekhq/stargazers","contributors_url":"https://api.github.com/repos/AaronGullickson/mekhq/contributors","subscribers_url":"https://api.github.com/repos/AaronGullickson/mekhq/subscribers","subscription_url":"https://api.github.com/repos/AaronGullickson/mekhq/subscription","commits_url":"https://api.github.com/repos/AaronGullickson/mekhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/AaronGullickson/mekhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/AaronGullickson/mekhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/AaronGullickson/mekhq/issues/comments{/number}","contents_url":"https://api.github.com/repos/AaronGullickson/mekhq/contents/{+path}","compare_url":"https://api.github.com/repos/AaronGullickson/mekhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AaronGullickson/mekhq/merges","archive_url":"https://api.github.com/repos/AaronGullickson/mekhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AaronGullickson/mekhq/downloads","issues_url":"https://api.github.com/repos/AaronGullickson/mekhq/issues{/number}","pulls_url":"https://api.github.com/repos/AaronGullickson/mekhq/pulls{/number}","milestones_url":"https://api.github.com/repos/AaronGullickson/mekhq/milestones{/number}","notifications_url":"https://api.github.com/repos/AaronGullickson/mekhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AaronGullickson/mekhq/labels{/name}","releases_url":"https://api.github.com/repos/AaronGullickson/mekhq/releases{/id}","deployments_url":"https://api.github.com/repos/AaronGullickson/mekhq/deployments","created_at":"2018-09-05T00:09:33Z","updated_at":"2019-10-01T03:15:31Z","pushed_at":"2019-10-15T23:14:46Z","git_url":"git://github.com/AaronGullickson/mekhq.git","ssh_url":"git@github.com:AaronGullickson/mekhq.git","clone_url":"https://github.com/AaronGullickson/mekhq.git","svn_url":"https://github.com/AaronGullickson/mekhq","homepage":"http://megamek.info/mekhq","size":633193,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MegaMek:master","ref":"master","sha":"8ad87961c3507b0c0116147501213c85aea22ec1","user":{"login":"MegaMek","id":13810529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODEwNTI5","avatar_url":"https://avatars0.githubusercontent.com/u/13810529?v=4","gravatar_id":"","url":"https://api.github.com/users/MegaMek","html_url":"https://github.com/MegaMek","followers_url":"https://api.github.com/users/MegaMek/followers","following_url":"https://api.github.com/users/MegaMek/following{/other_user}","gists_url":"https://api.github.com/users/MegaMek/gists{/gist_id}","starred_url":"https://api.github.com/users/MegaMek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MegaMek/subscriptions","organizations_url":"https://api.github.com/users/MegaMek/orgs","repos_url":"https://api.github.com/users/MegaMek/repos","events_url":"https://api.github.com/users/MegaMek/events{/privacy}","received_events_url":"https://api.github.com/users/MegaMek/received_events","type":"Organization","site_admin":false},"repo":{"id":40823322,"node_id":"MDEwOlJlcG9zaXRvcnk0MDgyMzMyMg==","name":"mekhq","full_name":"MegaMek/mekhq","private":false,"owner":{"login":"MegaMek","id":13810529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODEwNTI5","avatar_url":"https://avatars0.githubusercontent.com/u/13810529?v=4","gravatar_id":"","url":"https://api.github.com/users/MegaMek","html_url":"https://github.com/MegaMek","followers_url":"https://api.github.com/users/MegaMek/followers","following_url":"https://api.github.com/users/MegaMek/following{/other_user}","gists_url":"https://api.github.com/users/MegaMek/gists{/gist_id}","starred_url":"https://api.github.com/users/MegaMek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MegaMek/subscriptions","organizations_url":"https://api.github.com/users/MegaMek/orgs","repos_url":"https://api.github.com/users/MegaMek/repos","events_url":"https://api.github.com/users/MegaMek/events{/privacy}","received_events_url":"https://api.github.com/users/MegaMek/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MegaMek/mekhq","description":"MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.","fork":false,"url":"https://api.github.com/repos/MegaMek/mekhq","forks_url":"https://api.github.com/repos/MegaMek/mekhq/forks","keys_url":"https://api.github.com/repos/MegaMek/mekhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MegaMek/mekhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MegaMek/mekhq/teams","hooks_url":"https://api.github.com/repos/MegaMek/mekhq/hooks","issue_events_url":"https://api.github.com/repos/MegaMek/mekhq/issues/events{/number}","events_url":"https://api.github.com/repos/MegaMek/mekhq/events","assignees_url":"https://api.github.com/repos/MegaMek/mekhq/assignees{/user}","branches_url":"https://api.github.com/repos/MegaMek/mekhq/branches{/branch}","tags_url":"https://api.github.com/repos/MegaMek/mekhq/tags","blobs_url":"https://api.github.com/repos/MegaMek/mekhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MegaMek/mekhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MegaMek/mekhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/MegaMek/mekhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MegaMek/mekhq/statuses/{sha}","languages_url":"https://api.github.com/repos/MegaMek/mekhq/languages","stargazers_url":"https://api.github.com/repos/MegaMek/mekhq/stargazers","contributors_url":"https://api.github.com/repos/MegaMek/mekhq/contributors","subscribers_url":"https://api.github.com/repos/MegaMek/mekhq/subscribers","subscription_url":"https://api.github.com/repos/MegaMek/mekhq/subscription","commits_url":"https://api.github.com/repos/MegaMek/mekhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/MegaMek/mekhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/MegaMek/mekhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/MegaMek/mekhq/issues/comments{/number}","contents_url":"https://api.github.com/repos/MegaMek/mekhq/contents/{+path}","compare_url":"https://api.github.com/repos/MegaMek/mekhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MegaMek/mekhq/merges","archive_url":"https://api.github.com/repos/MegaMek/mekhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MegaMek/mekhq/downloads","issues_url":"https://api.github.com/repos/MegaMek/mekhq/issues{/number}","pulls_url":"https://api.github.com/repos/MegaMek/mekhq/pulls{/number}","milestones_url":"https://api.github.com/repos/MegaMek/mekhq/milestones{/number}","notifications_url":"https://api.github.com/repos/MegaMek/mekhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MegaMek/mekhq/labels{/name}","releases_url":"https://api.github.com/repos/MegaMek/mekhq/releases{/id}","deployments_url":"https://api.github.com/repos/MegaMek/mekhq/deployments","created_at":"2015-08-16T14:38:40Z","updated_at":"2019-10-15T03:03:33Z","pushed_at":"2019-10-15T23:14:48Z","git_url":"git://github.com/MegaMek/mekhq.git","ssh_url":"git@github.com:MegaMek/mekhq.git","clone_url":"https://github.com/MegaMek/mekhq.git","svn_url":"https://github.com/MegaMek/mekhq","homepage":"http://megamek.org","size":686182,"stargazers_count":67,"watchers_count":67,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":253,"license":null,"forks":58,"open_issues":253,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MegaMek/mekhq/pulls/1309"},"html":{"href":"https://github.com/MegaMek/mekhq/pull/1309"},"issue":{"href":"https://api.github.com/repos/MegaMek/mekhq/issues/1309"},"comments":{"href":"https://api.github.com/repos/MegaMek/mekhq/issues/1309/comments"},"review_comments":{"href":"https://api.github.com/repos/MegaMek/mekhq/pulls/1309/comments"},"review_comment":{"href":"https://api.github.com/repos/MegaMek/mekhq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MegaMek/mekhq/pulls/1309/commits"},"statuses":{"href":"https://api.github.com/repos/MegaMek/mekhq/statuses/aec96dd06a6617eb30ad8e97d20e1249f544f4b5"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"neoancient"}}