{"categories":[],"height":"190","author_url":"https://blog.hatena.ne.jp/mocomei/","title":"20130508\u3010Java\u3011\u30de\u30a6\u30b9\u3067\u30af\u30ea\u30c3\u30af\u3057\u305f\u5ea7\u6a19\u3092\u5f97\u308b","version":"1.0","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmocomei.hatenablog.com%2Fentry%2F2013%2F05%2F08%2F235650\" title=\"20130508\u3010Java\u3011\u30de\u30a6\u30b9\u3067\u30af\u30ea\u30c3\u30af\u3057\u305f\u5ea7\u6a19\u3092\u5f97\u308b - 365\u65e5\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"365\u65e5\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","blog_url":"https://mocomei.hatenablog.com/","url":"https://mocomei.hatenablog.com/entry/2013/05/08/235650","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/m/mocomei/20130508/20130508235638.png","width":"100%","author_name":"mocomei","type":"rich","published":"2013-05-08 23:56:50","description":"\u304a\u984c \u30de\u30a6\u30b9\u3067\u30af\u30ea\u30c3\u30af\u3057\u305f\u5ea7\u6a19\u3092\u5f97\u3066\u3001\u305d\u3053\u306b\u5186\u3092\u63cf\u304f \u30bd\u30fc\u30b9 import java.awt.*; public class MouseDownSample extends java.applet.Applet { int xpos = 0; int ypos = 0; public void init() { setForeground(Color.red); } public boolean mouseDown(Event e, int x, int y) { xpos = x; ypos = y; repaint(); return true; } public void paint(G\u2026"}