au.edu.jcu.hermes.ui.swing
Class SwingUtils

java.lang.Object
  extended by au.edu.jcu.hermes.ui.swing.SwingUtils

public class SwingUtils
extends java.lang.Object


Constructor Summary
SwingUtils()
           
 
Method Summary
static void forceAntiAliasing(java.awt.Graphics g)
          Causes the given Graphics to draw text anti-aliased by adding the appropriate RenderingHints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingUtils

public SwingUtils()
Method Detail

forceAntiAliasing

public static void forceAntiAliasing(java.awt.Graphics g)
Causes the given Graphics to draw text anti-aliased by adding the appropriate RenderingHints. Under JDK 1.5, this is a simple on/off setting; under 1.6, the desktop settings are used.