Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Method to move cursor

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Thanked 0 Times in 0 Posts

    Default Method to move cursor

    hey guys can you tell is there any method in java which works similar like function gotoxy() in c++.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,710 Times in 2,660 Posts

    Default Re: Method to move cursor

    The Robot class has methods that will move the cursor.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3

    Default Re: Method to move cursor

    Moves the cursor to the specified location. Use the CursorRow and CursorColumn properties to verify the cursor location.

Similar Threads

  1. How do I change the color of my cursor?
    By Chokladmunken in forum What's Wrong With My Code?
    Replies: 4
    Last Post: January 17th, 2014, 10:54 AM
  2. Oracle cursor will not close
    By magher in forum JDBC & Databases
    Replies: 9
    Last Post: November 22nd, 2013, 07:59 AM
  3. Virtual Cursor?
    By cgskook in forum Java Theory & Questions
    Replies: 11
    Last Post: May 25th, 2013, 02:39 AM
  4. Making a method to move blocks in a grid
    By geforce in forum What's Wrong With My Code?
    Replies: 60
    Last Post: May 22nd, 2012, 07:00 AM
  5. Show Text With cursor
    By ravjot28 in forum AWT / Java Swing
    Replies: 1
    Last Post: January 20th, 2010, 10:02 AM