I am designing a simple text editor in java. I want the default font to be Consolas because it looks good in eclipse, but when I run the program the font looks really weird and nothing like what it looks in eclipse. Is there a solution and if so how do I fix? Thanks!
What it looks like in my program:
What it looks like in eclipse: