{"action":"created","issue":{"url":"https://api.github.com/repos/DeRampage/GdP/issues/10","repository_url":"https://api.github.com/repos/DeRampage/GdP","labels_url":"https://api.github.com/repos/DeRampage/GdP/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/DeRampage/GdP/issues/10/comments","events_url":"https://api.github.com/repos/DeRampage/GdP/issues/10/events","html_url":"https://github.com/DeRampage/GdP/issues/10","id":137253112,"number":10,"title":"Praktikum 8 Malen","user":{"login":"DeRampage","id":17006596,"avatar_url":"https://avatars.githubusercontent.com/u/17006596?v=3","gravatar_id":"","url":"https://api.github.com/users/DeRampage","html_url":"https://github.com/DeRampage","followers_url":"https://api.github.com/users/DeRampage/followers","following_url":"https://api.github.com/users/DeRampage/following{/other_user}","gists_url":"https://api.github.com/users/DeRampage/gists{/gist_id}","starred_url":"https://api.github.com/users/DeRampage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeRampage/subscriptions","organizations_url":"https://api.github.com/users/DeRampage/orgs","repos_url":"https://api.github.com/users/DeRampage/repos","events_url":"https://api.github.com/users/DeRampage/events{/privacy}","received_events_url":"https://api.github.com/users/DeRampage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-29T13:21:24Z","updated_at":"2016-02-29T13:22:39Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/DeRampage/GdP/issues/comments/190209923","html_url":"https://github.com/DeRampage/GdP/issues/10#issuecomment-190209923","issue_url":"https://api.github.com/repos/DeRampage/GdP/issues/10","id":190209923,"user":{"login":"DeRampage","id":17006596,"avatar_url":"https://avatars.githubusercontent.com/u/17006596?v=3","gravatar_id":"","url":"https://api.github.com/users/DeRampage","html_url":"https://github.com/DeRampage","followers_url":"https://api.github.com/users/DeRampage/followers","following_url":"https://api.github.com/users/DeRampage/following{/other_user}","gists_url":"https://api.github.com/users/DeRampage/gists{/gist_id}","starred_url":"https://api.github.com/users/DeRampage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeRampage/subscriptions","organizations_url":"https://api.github.com/users/DeRampage/orgs","repos_url":"https://api.github.com/users/DeRampage/repos","events_url":"https://api.github.com/users/DeRampage/events{/privacy}","received_events_url":"https://api.github.com/users/DeRampage/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T13:22:39Z","updated_at":"2016-02-29T13:22:39Z","body":"```\r\npackage Praktikum8;\r\n\r\nimport java.wt.Color;\r\nimport java.wt.Graphics;\r\n\r\npublic class Rechteck {\r\n\r\n    public Position pos;\r\n    public double Seite;\r\n    public double Seite;\r\n    public Color randfarbe = Color.WHITE;\r\n    public Color füllfarbe = Color.WHITE;\r\n\r\n    public void anzeigen(Graphics g) {\r\n        g.setColor(füllfalbe);\r\n        if (randfarbe == Color.WHITE) {\r\n            g.fillRect((int) pos.getX(), (int) pos.getY(), (int) seiteA, (int) site);\r\n        }\r\n        if (randfarbe != Color.WHITE) {\r\n            g.drawRect((int) pos.getX(), (int) pos.getY(), (int) seiteA, (int) site);\r\n        }\r\n    }\r\n\r\n    public Rechteck(Position posi, double a, double b, Color rand, Color füll) {\r\n        pos = posi;\r\n        seiteA = a;\r\n        seiteB = b;\r\n        randfarbe = rand;\r\n        füllfarbe = füll;\r\n\r\n    }\r\n\r\n    public Rechteck(Position posi, double a, double b, Color füll) {\r\n        pos = posi;\r\n        seiteA = a;\r\n        seiteB = b;\r\n        füllfarbe = füll;\r\n    }\r\n\r\n}\r\n```"}}