RepaintManager.setCurrentManager(new FullRepaintManager());
JPanel panel = new AntiAliasedPanel();
JFrame frame = new JFrame("Hack 100: Anti-Aliased text");
frame.getContentPane().add(panel);
JLabel label = new JLabel("This is anti-aliased text");
label.setFont(label.getFont().deriveFont(40f));
panel.add(label);
frame.pack();
frame.setVisible(true);