src/Text.java
/**
     * Draw method
     * @param g Graphics reference
     */
Draw method
@param g Graphics reference
Draw method @param g Graphics reference
public void draw(Graphics g){
        g.setColor(Color.white);
        g.setFont(new Font("arial", Font.PLAIN, 20));
        g.drawString(text1,x,y);
        g.drawString(text2,x,y+30);
        g.drawString(text3,x,y+60);
    }
public void draw ( Graphics g ) { g . setColor ( Color . white ) ; g . setFont ( new Font ( "arial" , Font . PLAIN , 20 ) ) ; g . drawString ( text1 , x , y ) ; g . drawString ( text2 , x , y + 30 ) ; g . drawString ( text3 , x , y + 60 ) ; }
Draw method
 @param g Graphics reference
Draw method @param g Graphics reference