Skip to content

Instantly share code, notes, and snippets.

@brokendish
Created May 13, 2012 15:00
Show Gist options
  • Save brokendish/2688829 to your computer and use it in GitHub Desktop.
Save brokendish/2688829 to your computer and use it in GitHub Desktop.
TreeAppletRun
package brokendish;
import java.awt.BorderLayout;
import java.awt.Button;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JApplet;
public class TreeAppletRun extends JApplet implements ActionListener{
public void init(){
System.out.println("----------------------------------------------Init----------");
// Button btn = new Button("フレーム生成");
// setLayout(new BorderLayout());//デフォルトのFlowLayoutを変更
// add(btn);// ボタンを追加
// btn.addActionListener(this);//リスナーを登録
TreeSet aaa = new TreeSet(); //----2012/06/10
aaa.TreeSetInit(); //----2012/06/10
}
public void actionPerformed(ActionEvent e){
new TreeSet();
}
public void start(){
System.out.println("----------------------------------------------Start----------");
}
public void stop(){
System.out.println("----------------------------------------------Stop----------");
}
public void destroy(){
System.out.println("----------------------------------------------Destroy----------");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment