Cursor « Layout « Java Swing Q&A





1. how to change cursor position in Swing?    coderanch.com

Hi: Here is my question. From my login form, when I hit the OK button, I want to change the default cursor to wait cursor before I pop up the next form. To do that, in my OK() method I have written the first line of code as follows.... public void ok() { //change the cursor constants setCursor(new Cursor(Cursor.WAIT_CURSOR)); ........other code ...

2. automatically position the cursor in a particularcell    coderanch.com

I am not sure I follow your question completely, but to select a single cell, you need to call the setCellSelectionEnabled() method on the table, and to move the selection to a different cell, you can use the changeSelection(...) method [This message has been edited by Sayuri Coppinger (edited August 11, 2001).]

4. Cursor Position    coderanch.com

5. Selecting Text and Positioning Cursor    coderanch.com

6. position cursor    coderanch.com

7. Obtaining position of cursor on JPanel    coderanch.com

Thats what I normally do, but that method only gets triggered when the mouse is moved, I want to get the coordinate after the completion of a certain process. I seem to have it working fine, but I'm not sure if it will work in an applet or not, I guess it will

8. Java GUI cursor position in the window, mixed text editable and uneditable    forums.oracle.com

Hello, I primarily program in VBScript for Client Acces; but, I wanted to start creating user interfaces with Java. VBScript is not compiled on the private drive and anyone can learn how to do a program from well documented code; however, a compiled .class Java program does not have to be sent with the .java source code to work. The compiled ...