0

This question is related to my previous question : How to create a JButton with unicode image in Java?

My app works fine when I run it from Netbeans IDE, but after I packaged it into a jar file and run from another system, some images won't show up properly, as mentioned in this question : In Java how to detect if a unicode image can be displayed in a JButton?

So this question is : is there a way to first detect then save the font file when my app is running properly [ all images show up correctly ] with Netbeans, so I can package this font file into the jar file to be run in other environments ?

Edit : please pay attention to what I am asking :

[1] How to detect where the font file is ?

[2] How to save the detected font file ?

If you think another question can answer my question, does it have Java sample code to do the above 2 things ? If it does, can you cut and paste the sample code here ?

Frank
  • 30,590
  • 58
  • 161
  • 244

0 Answers0