I'm developing j2me application and want to add a custom font into that.So how to add a .ttf file into a j2me project.
No. You can't use .ttf file for Java ME application. If you want to use custom font, look on this discussion.
I suggest you can use LWUIT framework. Here you can use different type of bitmap fonts.