@Test
public void testDefaultForegroundNotAntialiasing() {

    JXLabel label = new JXLabel();
    AbstractPainter<?> painter = (AbstractPainter<?>) label.getForegroundPainter();
    assertFalse("foreground painter must not be antialiasing", painter.isAntialiasing());
}