FileDocCategorySizeDatePackage
DrawStringDemo.javaAPI DocExample281Sun Mar 11 21:03:30 GMT 2001None

DrawStringDemo

public class DrawStringDemo extends JComponent

Fields Summary
int
textX
int
textY
Constructors Summary
Methods Summary
public java.awt.DimensiongetPreferredSize()

		return new Dimension(100, 100);
	
public voidpaint(java.awt.Graphics g)


	    
		g.drawString("Hello Java", textX, textY);