<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kaiseh</author_name>
  <author_url>https://blog.hatena.ne.jp/kaiseh/</author_url>
  <blog_title>kaisehのブログ</blog_title>
  <blog_url>https://kaiseh.hatenadiary.org/</blog_url>
  <categories>
    <anon>Swing</anon>
  </categories>
  <description>フレームやダイアログの中から特定の条件を満たすコンポーネントを見つけたり、トラバースできると便利だと思い、JDOMをベースにして以下のプログラムを作ってみました。 SwingDOMBuilder SwingPath Swingのコンポーネント階層をDOMに変換して、XPathを使えるようにするというものです。使用例としては、メニュー項目をルックアップして実行したり ((JMenuItem) SwingPath.selectSingleComponent( frame, &quot;//JMenuItem[@text='上書き保存']&quot;)).doClick(); ボタンを全てdisabledにしたり fo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaiseh.hatenadiary.org%2Fentry%2F20090217%2F1234866843&quot; title=&quot; SwingコンポーネントをXPathで操作する - kaisehのブログ&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>2009-02-17 19:34:03</published>
  <title> SwingコンポーネントをXPathで操作する</title>
  <type>rich</type>
  <url>https://kaiseh.hatenadiary.org/entry/20090217/1234866843</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
