【java】CUIゲームライブラリ公開
at GAMEDEV
7:名前は開発中のものです。
15/04/29 11:02:22.87 Uwxqc1kF.net
2/2
/**
* @deprecated イベント処理メソッドです。
*/
public void actionPerformed(ActionEvent e){//ボタンが押された時
System.exit(0);
}
/**
* 呼び出すと「IPA モナー Pゴシック」が入っているか確認しなければダイアログを表示します。
*/
static void font(){
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
Font fonts[] = ge.getAllFonts();
int a=fonts.length;
String[] sf=new String[a];
for(int i=0;i<a;i++){
String fontName = fonts[i].getName();
sf[i]=fontName;
}
Arrays.sort(sf);
if(Arrays.binarySearch(sf,"IPA モナー Pゴシック") >= 0) {
}else{
Font2 f=new Font2();
}
}
}
次ページ最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
2410日前に更新/7821 Bytes
担当:undef