Created
October 17, 2012 21:27
-
-
Save dfilimon/3908335 to your computer and use it in GitHub Desktop.
Add this after Gview.java:380 to enjoy anti-aliased placeholder text in your ANTLRWorks diagram viewer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g.setFont(new Font(AWPrefs.getEditorFont(), Font.PLAIN, 2 * AWPrefs.getEditorFontSize())); | |
((Graphics2D)g).setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The path is aw/org/antlr/works/visualization/graphics/panel/GView.java