{"provider_name":"Hatena Blog","width":"100%","author_url":"https://blog.hatena.ne.jp/Naotsugu/","url":"https://blog1.mammb.com/entry/20100825/1282748414","type":"rich","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20100825%2F1282748414\" title=\"Scala \u306e Swing \u30b5\u30dd\u30fc\u30c8#2 \u30a4\u30d9\u30f3\u30c8\u51e6\u7406 - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"Naotsugu","description":"\u30a4\u30d9\u30f3\u30c8\u306e\u6271\u3044 SimpleSwingApplication \u3092\u4f7f\u7528\u3057\u305f\u7c21\u5358\u306a\u30a4\u30d9\u30f3\u30c8\u51e6\u7406\u306e\u4f8b\u3067\u3059\u3002Frame \u306b\u30de\u30a6\u30b9\u30af\u30ea\u30c3\u30af\u56de\u6570\u3092\u8868\u793a\u3059\u308b Label \u3092\u914d\u7f6e\u3057\u307e\u3059\u3002 import swing._ object Counter extends SimpleSwingApplication { val label = new Label { text = \"0\" listenTo(mouse.clicks) reactions += { case e: event.MouseClicked => text = (Integer.parseInt(text) +1).toString } } \u2026","published":"2010-08-25 00:00:14","blog_url":"https://blog1.mammb.com/","version":"1.0","title":"Scala \u306e Swing \u30b5\u30dd\u30fc\u30c8#2 \u30a4\u30d9\u30f3\u30c8\u51e6\u7406","height":"190","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/N/Naotsugu/20100824/20100824232953.png","categories":["Scala"],"blog_title":"A Memorandum"}