PixelDrawing/2006-11-08
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
#topicpath
#contents
* ボタン [#fc1cabb3]
Swingでボタンを付けました。
- ウィンドウのサイズを変更してから[Resize]ボタンを押すと...
- [実行]ボタンはダミーです。何も起きません。
#ref(PixelDrawing-20061108.png,nolink)
#ref(PixelDrawing-20061108.zip)
- 開発環境: NetBeans
** ハンドラ [#n7f29d88]
NetBeansでボタンを追加しました。ハンドラがWindows Formsと...
private void initComponents() {
(略)
jButton1.addActionListener(new java.awt.event.ActionLi...
public void actionPerformed(java.awt.event.ActionEve...
jButton1ActionPerformed(evt);
}
});
(略)
}
private void jButton1ActionPerformed(java.awt.event.Acti...
// TODO add your handling code here:
}
回りくどいですが、自動生成で隠されているというのがミソで...
** コメント [#a91cfa0f]
//#comment(below)
終了行:
#topicpath
#contents
* ボタン [#fc1cabb3]
Swingでボタンを付けました。
- ウィンドウのサイズを変更してから[Resize]ボタンを押すと...
- [実行]ボタンはダミーです。何も起きません。
#ref(PixelDrawing-20061108.png,nolink)
#ref(PixelDrawing-20061108.zip)
- 開発環境: NetBeans
** ハンドラ [#n7f29d88]
NetBeansでボタンを追加しました。ハンドラがWindows Formsと...
private void initComponents() {
(略)
jButton1.addActionListener(new java.awt.event.ActionLi...
public void actionPerformed(java.awt.event.ActionEve...
jButton1ActionPerformed(evt);
}
});
(略)
}
private void jButton1ActionPerformed(java.awt.event.Acti...
// TODO add your handling code here:
}
回りくどいですが、自動生成で隠されているというのがミソで...
** コメント [#a91cfa0f]
//#comment(below)
ページ名: