<p>If so, can you help me out on this particular homework problem? I’m kind of frazzled:</p>
<p>In the listing below, the class TextPrinter prints a string at the specified location. Modify the TextPrinter class so that the location at which text is drawn is stored as a pair of private member variables (x and y), and is NOT passed into the drawText()function. Remember to write any methods necessary to allow the client to manipulate the current location.</p>
<p>class TextPrinter
{
public void drawText (String text, int x, int y)
{
g.drawString (text, x, y,);
}
}</p>