changed rendering text with JLabel to custom string printing