set Typeface font failed ? what error is this?

view story

http://stackoverflow.com – what is causing my typeface error , i feel i am doing just like example i found public classGame extends AndroidGame { static boolean FLAG_GAME_ACTIVITY = false; static Typeface FONT; public Screen getStartScreen() { AssetManager assetMgr = this.getAssets(); Typeface FONT = Typeface.createFromAsset(assetMgr, "assets/font2.ttf"); return new LoadingScreen(this); } the error: 05-31 09:41:14.688: E/AndroidRuntime(4627): FATAL EXCEPTION: main 05-31 09:41:14.688: E/AndroidRuntime(4627): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.em1soft.androidgame (HowTos)