{"action":"created","comment":{"url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/comments/48185882","id":48185882,"diff_hunk":"@@ -0,0 +1,49 @@\n+package com.epam.olukash.module4.decorator.v2.frame;\n+\n+import java.awt.*;\n+\n+import javax.swing.*;\n+\n+import com.epam.olukash.module4.decorator.v2.panel.AbstractPanel;\n+import com.epam.olukash.module4.decorator.v2.panel.AdminPanel;\n+import com.epam.olukash.module4.decorator.v2.panel.SimplePanel;\n+\n+/**\n+ * @author Oleksii_Lukash\n+ * @date 12/21/2015\n+ */\n+public class FrameCreator extends JFrame\n+{\n+\tpublic FrameCreator()\n+\t{\n+\t\tsetDefaultValue();\n+\t\taddPanels();\n+\t}\n+\n+\tprivate void setDefaultValue()\n+\t{\n+\t\tgetContentPane().setLayout(new FlowLayout());\n+\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n+\t\tsetVisible(true);\n+\t\tsetSize(400, 400);\n+\t}\n+\n+\tprivate void addPanels()\n+\t{\n+\t\tJPanel contentPane = new JPanel();\n+\t\tcontentPane.setLayout(new FlowLayout(FlowLayout.CENTER, 100, 100));\n+\n+\t\tAbstractPanel panel = new SimplePanel();\n+\t\tpanel.add(new JButton(\"simple panel\"));\n+\t\tpanel.add(new JButton(\"simple panel\"));\n+\n+\t\tAbstractPanel apanel = new AdminPanel(panel);","path":"M4/src/main/java/com/epam/olukash/module4/decorator/v2/frame/FrameCreator.java","position":40,"original_position":40,"commit_id":"557f4cb24bda7ad00202d1b6235accae5c8598cd","original_commit_id":"557f4cb24bda7ad00202d1b6235accae5c8598cd","user":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"body":"try to allow Java convention. \"aPanel\" but better is \"adminPanel\"","created_at":"2015-12-21T20:13:08Z","updated_at":"2015-12-21T20:13:08Z","html_url":"https://github.com/ozamay/JMP-2015/pull/4#discussion_r48185882","pull_request_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/comments/48185882"},"html":{"href":"https://github.com/ozamay/JMP-2015/pull/4#discussion_r48185882"},"pull_request":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/4","id":54198588,"html_url":"https://github.com/ozamay/JMP-2015/pull/4","diff_url":"https://github.com/ozamay/JMP-2015/pull/4.diff","patch_url":"https://github.com/ozamay/JMP-2015/pull/4.patch","issue_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/4","number":4,"state":"open","locked":false,"title":"Module4","user":{"login":"oleksiilukash","id":16079228,"avatar_url":"https://avatars.githubusercontent.com/u/16079228?v=3","gravatar_id":"","url":"https://api.github.com/users/oleksiilukash","html_url":"https://github.com/oleksiilukash","followers_url":"https://api.github.com/users/oleksiilukash/followers","following_url":"https://api.github.com/users/oleksiilukash/following{/other_user}","gists_url":"https://api.github.com/users/oleksiilukash/gists{/gist_id}","starred_url":"https://api.github.com/users/oleksiilukash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleksiilukash/subscriptions","organizations_url":"https://api.github.com/users/oleksiilukash/orgs","repos_url":"https://api.github.com/users/oleksiilukash/repos","events_url":"https://api.github.com/users/oleksiilukash/events{/privacy}","received_events_url":"https://api.github.com/users/oleksiilukash/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-20T12:33:22Z","updated_at":"2015-12-21T20:13:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d9433fccaeeb2bcbeb312c5a2b0e50193de628c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/4/comments","statuses_url":"https://api.github.com/repos/ozamay/JMP-2015/statuses/557f4cb24bda7ad00202d1b6235accae5c8598cd","head":{"label":"ozamay:module4","ref":"module4","sha":"557f4cb24bda7ad00202d1b6235accae5c8598cd","user":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"repo":{"id":47105657,"name":"JMP-2015","full_name":"ozamay/JMP-2015","owner":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ozamay/JMP-2015","description":"","fork":false,"url":"https://api.github.com/repos/ozamay/JMP-2015","forks_url":"https://api.github.com/repos/ozamay/JMP-2015/forks","keys_url":"https://api.github.com/repos/ozamay/JMP-2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ozamay/JMP-2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ozamay/JMP-2015/teams","hooks_url":"https://api.github.com/repos/ozamay/JMP-2015/hooks","issue_events_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/events{/number}","events_url":"https://api.github.com/repos/ozamay/JMP-2015/events","assignees_url":"https://api.github.com/repos/ozamay/JMP-2015/assignees{/user}","branches_url":"https://api.github.com/repos/ozamay/JMP-2015/branches{/branch}","tags_url":"https://api.github.com/repos/ozamay/JMP-2015/tags","blobs_url":"https://api.github.com/repos/ozamay/JMP-2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ozamay/JMP-2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ozamay/JMP-2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/ozamay/JMP-2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ozamay/JMP-2015/statuses/{sha}","languages_url":"https://api.github.com/repos/ozamay/JMP-2015/languages","stargazers_url":"https://api.github.com/repos/ozamay/JMP-2015/stargazers","contributors_url":"https://api.github.com/repos/ozamay/JMP-2015/contributors","subscribers_url":"https://api.github.com/repos/ozamay/JMP-2015/subscribers","subscription_url":"https://api.github.com/repos/ozamay/JMP-2015/subscription","commits_url":"https://api.github.com/repos/ozamay/JMP-2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/ozamay/JMP-2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/ozamay/JMP-2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/ozamay/JMP-2015/contents/{+path}","compare_url":"https://api.github.com/repos/ozamay/JMP-2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ozamay/JMP-2015/merges","archive_url":"https://api.github.com/repos/ozamay/JMP-2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ozamay/JMP-2015/downloads","issues_url":"https://api.github.com/repos/ozamay/JMP-2015/issues{/number}","pulls_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls{/number}","milestones_url":"https://api.github.com/repos/ozamay/JMP-2015/milestones{/number}","notifications_url":"https://api.github.com/repos/ozamay/JMP-2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ozamay/JMP-2015/labels{/name}","releases_url":"https://api.github.com/repos/ozamay/JMP-2015/releases{/id}","created_at":"2015-11-30T08:39:40Z","updated_at":"2015-11-30T18:42:57Z","pushed_at":"2015-12-21T10:59:07Z","git_url":"git://github.com/ozamay/JMP-2015.git","ssh_url":"git@github.com:ozamay/JMP-2015.git","clone_url":"https://github.com/ozamay/JMP-2015.git","svn_url":"https://github.com/ozamay/JMP-2015","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ozamay:master","ref":"master","sha":"c66ae8ef80d672494e0c32f6181f2d56d3c8662a","user":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"repo":{"id":47105657,"name":"JMP-2015","full_name":"ozamay/JMP-2015","owner":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ozamay/JMP-2015","description":"","fork":false,"url":"https://api.github.com/repos/ozamay/JMP-2015","forks_url":"https://api.github.com/repos/ozamay/JMP-2015/forks","keys_url":"https://api.github.com/repos/ozamay/JMP-2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ozamay/JMP-2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ozamay/JMP-2015/teams","hooks_url":"https://api.github.com/repos/ozamay/JMP-2015/hooks","issue_events_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/events{/number}","events_url":"https://api.github.com/repos/ozamay/JMP-2015/events","assignees_url":"https://api.github.com/repos/ozamay/JMP-2015/assignees{/user}","branches_url":"https://api.github.com/repos/ozamay/JMP-2015/branches{/branch}","tags_url":"https://api.github.com/repos/ozamay/JMP-2015/tags","blobs_url":"https://api.github.com/repos/ozamay/JMP-2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ozamay/JMP-2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ozamay/JMP-2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/ozamay/JMP-2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ozamay/JMP-2015/statuses/{sha}","languages_url":"https://api.github.com/repos/ozamay/JMP-2015/languages","stargazers_url":"https://api.github.com/repos/ozamay/JMP-2015/stargazers","contributors_url":"https://api.github.com/repos/ozamay/JMP-2015/contributors","subscribers_url":"https://api.github.com/repos/ozamay/JMP-2015/subscribers","subscription_url":"https://api.github.com/repos/ozamay/JMP-2015/subscription","commits_url":"https://api.github.com/repos/ozamay/JMP-2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/ozamay/JMP-2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/ozamay/JMP-2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/ozamay/JMP-2015/contents/{+path}","compare_url":"https://api.github.com/repos/ozamay/JMP-2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ozamay/JMP-2015/merges","archive_url":"https://api.github.com/repos/ozamay/JMP-2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ozamay/JMP-2015/downloads","issues_url":"https://api.github.com/repos/ozamay/JMP-2015/issues{/number}","pulls_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls{/number}","milestones_url":"https://api.github.com/repos/ozamay/JMP-2015/milestones{/number}","notifications_url":"https://api.github.com/repos/ozamay/JMP-2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ozamay/JMP-2015/labels{/name}","releases_url":"https://api.github.com/repos/ozamay/JMP-2015/releases{/id}","created_at":"2015-11-30T08:39:40Z","updated_at":"2015-11-30T18:42:57Z","pushed_at":"2015-12-21T10:59:07Z","git_url":"git://github.com/ozamay/JMP-2015.git","ssh_url":"git@github.com:ozamay/JMP-2015.git","clone_url":"https://github.com/ozamay/JMP-2015.git","svn_url":"https://github.com/ozamay/JMP-2015","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/4"},"html":{"href":"https://github.com/ozamay/JMP-2015/pull/4"},"issue":{"href":"https://api.github.com/repos/ozamay/JMP-2015/issues/4"},"comments":{"href":"https://api.github.com/repos/ozamay/JMP-2015/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ozamay/JMP-2015/statuses/557f4cb24bda7ad00202d1b6235accae5c8598cd"}}}}