English 中文(简体)
外交部 Java: 在未启动的情况下接受模拟活动
原标题:Mac OSX Java: Receive mouse events when not activated
  • 时间:2010-05-31 11:35:31
  •  标签:
  • java
  • macos

我正在撰写一份 Java·斯瓦林申请,在申请没有启动时,需要有一个窗口来接收移动活动——认为它像一个全球总站式的工具路障一样,在模拟后会消减。

从我迄今为止的研究来看,我只看到马 Mac·乔雷特在申请重点时会发生事件。

这似乎并不限制监督厅,因此,我希望有一个系统财产、一揽子申请财产或一个能够处理未启动事件的系统。 否则,一些全球捕捉 mo运动事件和将其移至 Java应用的方法。

感谢任何建议......

Edit: 还有一个问题: 一旦抓住了移动活动,你如何将这些活动引向上演,以便它们得到同样的对待,与当地的非洲顾问组织活动一样——通过在广告中找到成分,并向它派出一个MouseEvent。

最佳回答

This isn t possible with pure Java.
You will need JNI and to write a global keylistener (or a keyboard hook) in C++ or another language.

以下是有关全球关键生计的一些专题:

关于最后一个专题:,是OSX的一项特定解决办法。

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签