You can get the mouse coordinates of the mouse.
That will give you the location on screen.
From that you could get the Component the mouse is over.
From that you can retrieve a Graphics object which can draw that component.
From that you can retrieve an offset Graphics object which can draw that component somewhere else (if I read the API docs correctly).
What I don't know is whether any of that will do you much good :)
thanks luke, ill keep that in mind...just wondering if it will work like the c++ logger mentioned abov ...ie at operating system level its a fairly important feature, but with file output would be easy to a: buffer the keystrokes and can then process in the background, and b: save embedding c code in a pre written java program.
ill look in the forums n see if theres a nire recnt thread...thanks again, and for the advice to a noob.
Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...