ボタンの位置 (MainMenu.Menu_Options) をプロパティ ファイルに保存し、それも読みたいので、問題があります。これどうやってするの?getLocation() を使用できることはわかっていますが、それを文字列に変換する必要があります。コード:
try{
options.setProperty("firstbackcolor", firstbackgroundColor.toString());
options.setProperty("secondbackcolor", secondbackgroundColor.toString());
options.setProperty("firsttext", firsttextColor.toString());
options.setProperty("secondtext", secondtextColor.toString());
options.setProperty("Slot_Options", MainMenu.Menu_Options.getLocation());
options.store(new FileOutputStream(SupremeDataPath),null);
}catch(Exception e){}
誰でも?