|
// *********************************************
// プロジェクト名 : DB_01
// *********************************************
package db_01;
import org.jdesktop.application.Application;
import org.jdesktop.application.SingleFrameApplication;
// *********************************************
// このアプリケーションのメインクラス
// *********************************************
public class DB_01App extends SingleFrameApplication {
// *********************************************
// 開始処理( メインウインドウを表示 )
// *********************************************
@Override protected void startup() {
DB_01View startView = new DB_01View(this);
show(startView);
// サイズ変更
startView.getFrame().setSize(800, 600);
// 位置変更
startView.getFrame().setLocation(0, 0);
}
@Override protected void configureWindow(java.awt.Window root) {
}
public static DB_01App getApplication() {
return Application.getInstance(DB_01App.class);
}
// *********************************************
// エントリポイント
// *********************************************
public static void main(String[] args) {
launch(DB_01App.class, args);
}
}
| |