Can't get SWT Display on Mac OS X

前端 未结 4 1902
情歌与酒
情歌与酒 2021-02-06 07:50

I\'m running Mac OS X Snow Leopard and wan\'t to access the Display from the activator in an OSGi bundle.

Below is the start method for my activator:

@O         


        
4条回答
  •  北恋
    北恋 (楼主)
    2021-02-06 08:14

    I had the problem that as soon as "display.sleep()" was called the Window freezed the application. If somebody else hace the same problem, the solution that worked for me was to add: -XstartOnFirstThread to the VM at the moment of the execution.

    I was trying to make Areca Backup software work on my Mac, and know its working :)

    My system is: MacOsX Snow Leopard 10.6.2

    Bye, Daniel W.

提交回复
热议问题