I am making on-screen keyboard in java. All what i want to know is how to get focus into the notepad or any other typing point , I mean when i press a key it type it into the typing point like a keyboard do. If any one know any thing about this please help me. Any hint .... I will be thankful to you.
>I am making on-screen keyboard in java.
This makes sense
>All what i want to know is how to get focus into the notepad or any other typing point , I mean when i press a key it type it into the typing point like a keyboard do.
This is non-sense. It doesn't give clear idea what you trying to do. Focus into notepad? Type in typing point?
Is the focus needed in your app, or some other Windows application. If it's yours you can request focus thru the Swing API. If its some other Windows app this is not easy; you could use JNI to access the Windows api directly (difficult) or use PrecessBuilder to call something like cmdow ( http://www.commandline.co.uk/cmdow/index.html ) to set the focus for you (not so difficult, but not elegant either).
I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...