Java를 사용하는 프로그램에서 공통적으로 나타나는 더블클릭 속도 문제

리눅스계열에서 자바를 사용하는 프로그램에서 더블클릭을 하면
파일 이름 변경하는 걸로 인식하는 경우가 종종있습니다.
(matlab이나 토렌트 프로그램 등등)
java설정에서 더블클릭 속도가 200ms로 설정되어서 그런데
간단하게 해결하는 방법이 있습니다.

터미널 열어서

[code:7vn77dao]gedit ~/.Xresources[/code:7vn77dao]
하시고

[code:7vn77dao]*multiClickTime: 400[/code:7vn77dao]

을 붙여놓은후에 (* 빠트리지 마시고요) 저장하세요.
재부팅해보시면 더블클릭 문제가 해결될겁니다.

페도라 계열에서도 비슷한 방식으로 문제를 해결하실순 있습니다만 자세한 방법은 아래 링크 참조하세요.

[url:7vn77dao]http://forums.sun.com/thread.jspa?threadID=585358[/url:7vn77dao]

[quote:7vn77dao]I’ve been playing around with Ubuntu linux lately and have noticed this double click problem.
After reading through the Java source code I think I found a solution:
Under the linux JVM

[code:7vn77dao]getDesktopProperty("awt.multiClickInterval")[/code:7vn77dao]
maps roughly into a C function call to

[code:7vn77dao]XGetDefault(,"multiClickTime")[/code:7vn77dao]
The problem is that unless this value is explicitly defined it defaults to 200ms.
The solution, then, is to define it. Under Ubuntu (Debian)
I created a .Xresources file in my home directory with the line:
*multiClickTime: 400
You might need to name the file .Xdefaults in other flavors of Linux.
In my opinion, Ubuntu should have done this for me when I used their
graphical tool to change the double click speed. I think I’ll bug them about it.
[/quote:7vn77dao]