I have looked in numerous places for the answer to this question and yet to find something that works. I have a project in eclipse set up like so (I hope you can understand it):
(Project)
src/package1/class1.cs
src/package2/class2.cs
JRE_SYSTEM_FILES/
res/font.ttf
So inside of the "res" folder, I have a font.ttf. I understand how to add the font to my program and use it using Font.createFont(), but What I cant understand is how to get the file path. Everything I find assumes I have the path already which I don't. If anyone can help that would be greatly appreciated, and please If my formatting gets in the way of understanding the question please tell me.