Skip to main content

alternate of gotoxt in java??

1 reply [Last post]
sadia
Offline
Joined: 2006-05-05
Points: 0

what is alternate of gotoxy in java?and how to control output screen in java?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
grelf
Offline
Joined: 2007-11-14
Points: 0

If you mean "how do I draw graphics?", this is a big subject for which you need a book or a training course.
My first thought was the Java API tutorials ( http://docs.oracle.com/javase/tutorial/uiswing/index.html ) but that starts with a lot of confusing side issues.
You could try this: http://www.grelf.net/java/page101.html (my own course).
If that page jumps in too deep for you, find the contents page on that site and start higher up.

On the other hand if you just need to know the methods available for drawing on the graphics context, see the API docs for java.awt.Graphics and java.awt.Graphics2D