I have a String which has been splitted like this
String companyinforstring ="Company name.:Company profile no 1.:Company profile no 2.:Company profile no3.:---------------------------------------------------------------:Company address, :Street number, :Area,Area no2, :City. ";
for (String retval: companyinforstring.split(":"))
{
System.out.println(retval);
graphics.drawString(retval.toUpperCase(), 250, 200);
}
The Problem is that String which has been splitted, overlaping each String,How can this be solved?