@Override protected void paintComponent(Graphics g) { if (myEnableAntialiasing) { UISettings.setupAntialiasing(g); } super.paintComponent(g); myEmptyText.paint(this, g); }