Home > Back-end >  You want to do a small screenshot software, personal work need, need to ask how to start.
You want to do a small screenshot software, personal work need, need to ask how to start.

Time:11-27

You want to do a small screenshot software, personal work need, need to ask how to proceed with,

Requirements: don't need any software panel, use the shortcut directly enter a state of screenshots, drag and click of the mouse, the selected images directly to read into memory in the form of pictures, press CTRL + v to excel, demand is completed, it's that simple,

Now I will only Java, can learn to do this thing? What kind of what kind of package? Do you have any references?

Maybe bad Java long desktop software, but should not even without this ability,

CodePudding user response:

In any state through the shortcut into the screenshots, this has not been Java at
In the condition of no Java form get focus, on Java alone cannot achieve keyboard events to monitor
What need system native API, this is about to use JNI, JNA kind of the
That it is better to directly use C

If you want to always open a small Java window over there,
Selected after Windows shortcuts to capture, feel strange

CodePudding user response:

Baidu about
A jintellitype people achieve the JNI can monitor system global keyboard events

CodePudding user response:

reference 1st floor sunyiz response:
in any state through the shortcut into the screenshots, this has not been Java at
In the condition of no Java form get focus, on Java alone cannot achieve keyboard events to monitor
What need system native API, this is about to use JNI, JNA kind of the
That it is better to directly use C

If you want to always open a small Java window over there,
Selected after Windows shortcuts to capture, feel very strange


Heard that looks like Java, c # if use c #, this requirement would be easier? I heard this is Microsoft's son, that it should be no reason for not long?
  • Related