<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TripleRiver</author_name>
  <author_url>https://blog.hatena.ne.jp/TripleRiver/</author_url>
  <blog_title>IN THE RIVER</blog_title>
  <blog_url>https://3river.hateblo.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>以下の画像は単純なJTableのサンプルです。「確認」ボタンを押した際に、JTableの各セルの値をメッセージダイアログにて表示します。 しかし3行3列目に入力されているはずの「i」が取得できておらず、nullが表示されてしまっています。 画像からは分かりづらいのですが、これは該当のセルを編集している状態で「確認」ボタンを押してしまっていることが原因です。 編集を完了（フォーカスを移動）させれば、値は取得できますが、ユーザにそれを強いるのは不親切でしょう。セルの編集中に、ボタンを押す場面は普通に考えられます。以下のコードはJTableのセルが編集中にボタンを押された場合、編集を終了させる（値を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F3river.hateblo.jp%2Fentry%2F2022%2F09%2F27%2F114918&quot; title=&quot;JTable 編集中のセルの値を取得する - IN THE RIVER&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>https://cdn-ak.f.st-hatena.com/images/fotolife/r/riverman_k/20220927/20220927112704.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-09-27 11:49:18</published>
  <title>JTable 編集中のセルの値を取得する</title>
  <type>rich</type>
  <url>https://3river.hateblo.jp/entry/2022/09/27/114918</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
