EclipseでProce55ingするにはここを参照。
- プロジェクトを右クリックして[プロパティ]を選択
- [ビルドパス]の[ライブラリ]タブでjogl.jarの[Native library location]のところに、例えば
C:processing-0125-expertlibrariesopengllibrary
と入力する。 - さらに、
JFrame
内でPApplet
をEmbedded
として動作させるには、public static void main(String[] args) { JFrame f = new JFrame("Embedded"); f.setLayout(new BorderLayout()); PApplet embed = new <font color="blue">PAppletのクラス名</font><font>(); f.add(embed, BorderLayout.CENTER); f.setSize(DIM, DIM); f.setVisible(true); // important to call this whenever embedding a PApplet. // It ensures that the animation thread is started and // that other internal variables are properly set. embed.init(); }
でOK。
cialis soft tabs generic soft tabs cialis cialis soft tabs
いいねいいね