I am writing an application with small fonts in JLabels meant to be displayed on large low res screens.
I create a JLablel using this code, the JFrame has white background.
JLabel myJlabel=new JLabel();
myJlabel.setFont(new Font("Terminal",0,8));
myJlabel.setForeground(Color.black);
myJlabel.setText("Hamburger");
But it looks blurry. The image blow illustrates my problem. On the left it is from a screenshot of my application and on the right it is from the Notapad.exe with the same font and size. One if blurry and on is not.
Here is the images again enlarged and re-screen shot so you won't need to zoom to see my problem.
I need the labels in Java to be just as sharp as on the right. Is there a way to make JLabels not blurry?