<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>propella</author_name>
  <author_url>https://blog.hatena.ne.jp/propella/</author_url>
  <blog_title>言語ゲーム</blog_title>
  <blog_url>https://propella.hatenablog.com/</blog_url>
  <categories>
    <anon>bottle</anon>
  </categories>
  <description>Swing のテキストウィジェットって、OS のコードを使わないで全部自力で書いているらしいので、参考になると思いソースを読んでみました。まず動作を追いやすいように、テキストウィジェットを表示して、何かが入力されると現在の文字数をコンソールに出力するという役に立たないプログラムを書いてみた。役に立たないなりにブレークポイントを仕込むとイベント処理の仕組みがよく分かる。 import javax.swing.*; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; class Swi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpropella.hatenablog.com%2Fentry%2F20080315%2Fp1&quot; title=&quot; Swing のテキストウィジェットで遊ぶ - 言語ゲーム&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-03-15 00:00:00</published>
  <title> Swing のテキストウィジェットで遊ぶ</title>
  <type>rich</type>
  <url>https://propella.hatenablog.com/entry/20080315/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
