print dialog printable area height how to print text the java tutorials gt creating a gui