Would it be possible to check str value in drawString(String str, float x, float y) method which will prevent the following IllegalArgumentException? java.lang.IllegalArgumentException: Can`t add ...