Swing/_Border のバックアップ(No.29)
- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- 現在との差分 - Visual を表示
- ソース を表示
- Swing/_Border へ行く。
- 1 (2005-09-20 (火) 16:02:20)
- 2 (2006-04-10 (月) 11:35:35)
- 3 (2006-05-29 (月) 09:11:01)
- 4 (2006-06-27 (火) 11:33:57)
- 5 (2006-11-14 (火) 18:48:14)
- 6 (2007-02-27 (火) 10:24:29)
- 7 (2007-08-06 (月) 12:07:20)
- 8 (2011-11-21 (月) 15:44:20)
- 9 (2012-04-23 (月) 11:58:29)
- 10 (2012-06-25 (月) 18:18:22)
- 11 (2012-06-25 (月) 20:05:09)
- 12 (2012-07-23 (月) 12:13:34)
- 13 (2012-08-27 (月) 18:51:25)
- 14 (2013-01-28 (月) 00:01:44)
- 15 (2013-04-21 (日) 04:06:32)
- 16 (2013-08-19 (月) 15:01:04)
- 17 (2013-08-20 (火) 19:58:50)
- 18 (2013-12-16 (月) 00:12:26)
- 19 (2014-06-16 (月) 01:23:39)
- 20 (2014-09-04 (木) 16:54:19)
- 21 (2014-11-08 (土) 01:29:06)
- 22 (2014-11-25 (火) 02:24:27)
- 23 (2014-11-27 (木) 01:34:30)
- 24 (2014-12-03 (水) 00:56:17)
- 25 (2014-12-04 (木) 14:45:39)
- 26 (2014-12-06 (土) 20:40:53)
- 27 (2015-04-20 (月) 00:00:44)
- 28 (2015-08-03 (月) 02:54:33)
- 29 (2015-09-07 (月) 00:05:21)
- 30 (2015-09-28 (月) 01:40:04)
- 31 (2016-02-08 (月) 00:01:16)
- 32 (2016-06-24 (金) 14:38:30)
- 33 (2016-06-24 (金) 16:13:45)
- 34 (2017-02-13 (月) 15:10:14)
- 35 (2017-02-20 (月) 19:40:38)
- 36 (2017-02-28 (火) 17:51:53)
- 37 (2017-04-03 (月) 15:50:53)
- 38 (2017-05-22 (月) 19:11:54)
- 39 (2017-10-09 (月) 16:32:25)
- 40 (2017-11-27 (月) 15:24:18)
- 41 (2018-02-15 (木) 14:23:42)
- 42 (2018-06-04 (月) 15:37:04)
- 43 (2018-06-11 (月) 16:39:20)
- 44 (2018-06-28 (木) 13:22:27)
- 45 (2018-07-23 (月) 17:11:48)
- 46 (2019-04-22 (月) 15:03:05)
- 47 (2019-05-27 (月) 15:46:05)
- 48 (2020-05-18 (月) 15:14:30)
- 49 (2020-12-07 (月) 00:55:14)
- 50 (2020-12-21 (月) 02:00:02)
- 51 (2021-05-17 (月) 01:18:22)
- 52 (2021-05-17 (月) 07:52:44)
- 53 (2021-08-16 (月) 01:20:10)
- 54 (2021-11-22 (月) 00:38:25)
- 55 (2022-02-21 (月) 01:01:15)
- 56 (2022-06-13 (月) 00:34:49)
- 57 (2023-03-26 (日) 19:46:52)
- 58 (2023-03-27 (月) 00:15:44)
- 59 (2023-10-30 (月) 00:35:57)
- 60 (2023-12-25 (月) 01:03:35)
- 61 (2024-01-22 (月) 06:04:38)
- 62 (2024-03-11 (月) 02:56:10)
- 63 (2025-04-21 (月) 03:56:14)
- 64 (2025-07-28 (月) 14:21:46)
- 65 (2025-09-15 (月) 10:29:24)
- title: Border
tags: [Border, TitledBorder, MatteBorder, StrokeBorder]
description: Border関係の記事へのスクリーンショット付きリンク一覧
このページでは、
Border関係の使い方を集めて一覧にしています。
Border
TitledBorderのタイトル位置
TitledBorderのタイトル位置
TitledBorderのタイトル位置や揃えを切り替えてテストします。
Borderのアニメーション
Borderのアニメーション
Timerを使って、波紋風のアニメーションを描画するBorderを作成します。
BorderにJComponentを配置
BorderにJComponentを配置
BorderにJCheckBoxやJButtonなどを配置します。
Borderの右下にJComponentを配置
Borderの右下にJComponentを配置
SpringLayoutを設定したJLayeredPaneを使って、Borderの右下にJComponentを配置します。
JComboBoxのアイテムをBorderで修飾してグループ分け
JComboBoxのアイテムをBorderで修飾してグループ分け
JComboBoxのアイテムをBorderを使用して修飾してグループ分けします。
CellEditorのBorderを変更
CellEditorのBorderを変更
Borderを変更したJTextFieldを、JTableのデフォルトセルエディタとして設定します。
JToolTipにBorderを設定
JToolTipにBorderを設定
JComponentのcreateToolTip()メソッドをオーバーライドして、Borderを変更したJToolTipを生成します。
MatteBorderでラベル枠を修飾
MatteBorderでラベル枠を修飾
JLabelの装飾にMatteBorderを使用し、4辺でそれぞれ異なる線幅の枠を描画します。
JComboBoxの角を丸める
JComboBoxの角を丸める
JComboBoxの左上、右上の角を丸めるBorderを設定します。
TitledBorderのタイトルを縦(左側)に表示する
TitledBorderのタイトルを縦(左側)に表示する
TitledBorderのタイトル文字列を縦(左側)に表示します。
↑10 ↓11
StrokeBorderを使用する
StrokeBorderを使用する
Java 1.7.0 で導入されたStrokeBorderをテストします。
TitledBorderとMatteBorderを使用してTitledSeparatorを作成する
TitledBorderとMatteBorderを使用してTitledSeparatorを作成する
TitledBorderとMatteBorderを使用してTitle付きのSeparatorを作成します。
JScrollBarに検索結果をハイライト表示
JScrollBarに検索結果をハイライト表示
JScrollBarなどにJTextAreaの文字列検索の結果をハイライト表示します。
JLayerで隣接する別コンポーネント上に縁を描画
JLayerで隣接する別コンポーネント上に縁を描画
JLayerを使用して隣接する別コンポーネント上にも縁や影を描画します。
JTreeのノードがフォーカス状態になった場合のBorderを変更する
JTreeのノードがフォーカス状態になった場合のBorderを変更する
JTreeのノードが選択されてフォーカス状態になった場合のBorderによる描画をUIManagerで変更します。
JTextPaneにJSeparatorを追加する
JTextPaneにJSeparatorを追加する
JTextPaneにセパレータとして、hr要素やJSeparator、MatteBorderを設定したJLabelなどを追加します。
BasicStrokeで指定した辺の描画を行うBorderを作成する
BasicStrokeで指定した辺の描画を行うBorderを作成する
MatteBorderの縁の塗り潰しの代わりにBasicStrokeで点線を描画するBorderを作成します。
















