List of usage examples for java.awt RenderingHints VALUE_TEXT_ANTIALIAS_LCD_HBGR
Object VALUE_TEXT_ANTIALIAS_LCD_HBGR
To view the source code for java.awt RenderingHints VALUE_TEXT_ANTIALIAS_LCD_HBGR.
Click Source Link
From source file:TextQualityDemoVALUE_TEXT_ANTIALIAS_LCD_HBGR.java
public static void main(String[] args) { JFrame frame = new JFrame("LCD Text Demo"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setPreferredSize(new Dimension(630, 460)); frame.setContentPane(new MyPanel(RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HBGR)); frame.pack();//from w w w .j a va 2 s . c o m frame.setVisible(true); }