next up previous contents
Next: [操作] Up: 描画 Previous: Graphicsクラスのメンバ・メソッド   目次

MyPanel クラスを作成して図形を描く

JPanelを拡張して新たなクラスMyPanelを作成する.
その後、このMyPanelを使用して円を描くプログラムを作成する. (図2.2)
図 1: 作成するGUIプログラム
\includegraphics[width=42ex]{fig0.eps}



Subsections

TKinoshita 2016-07-13