Java Software Platform J2SE6 (Mustang) Enables System Tray / Taskbar 자바 소프트웨어 플랫폼 j2se6 (야생마)를 사용 시스템 트레이 / 작업 표시줄
Java 2 Platform Standard Edition 6.0 version (Mustang) lets you access the system tray through two classes in the java.awt package: SystemTray and TrayIcon. 자바 2 플랫폼 일반용 6.0 버전 (야생마)를 사용하면 시스템 트레이를 통해 액세스하는 두 개의 클래스를 java.awt 패키지 : systemtray 및 trayicon합니다. 
These classes give you the ability to add graphics, popup menus, and floating tip functionality to the system tray. 이러한 클래스를 추가할 수있는 기능을 제공 그래픽, 팝업 메뉴, 그리고 부동 팁 기능을 시스템 트레이합니다. If approved by the JSR 270 Expert Group you can expect to find this feature in the final version of Mustang. 전문가 그룹의 승인을 jsr 경우 270에서이 기능을 찾을 수있습니다를 기대 머스탱의 최종 버전을합니다. Approve it already! 승인 이미!
The java.awt.SystemTray class represents the system tray for a desktop. 시스템 트레이 the java.awt.systemtray 클래스를 나타냅니다 바탕 화면을합니다. You can access the system tray by calling the static SystemTray.getSystemTray() method. 시스템 트레이에 액세스할 수있습니다를 호출하여 정적 systemtray.getsystemtray () 메소드를합니다. Before doing so, however, the application should always check if the system tray is supported using the static SystemTray.isSupported() method. 이렇게하기 전에, 그러나이 응용 프로그램은 항상 시스템 트레이를 지원하는지 확인합니다을 사용하여 정적 systemtray.issupported () 메소드를합니다. If the system tray is not present or supported on this platform and the application attempts to call getSystemTray() in such a case, it will throw a java.lang.UnsupportedOperationException. 시스템 트레이가없는 경우에는이 플랫폼 및 응용 프로그램에서 지원하려고 시도하거나에게 전화 getsystemtray () 이와 같은 경우, 그것이 던지는 java.lang.unsupportedoperationexception합니다.
Read this article for more 이 기사를 읽고 더 많은 details 세부 사항 . 합니다.
Filed under 밑에 Headline News 헤드 라인 뉴스 , How To 하는 방법을 , Java Software 자바 소프트웨어 , Tech Note 기술 참고 사항 | |
| |
RSS 2.0 rss 2.0 | |
Trackback 트랙백 this Article | 이 문서 |
Email this Article 전자 우편이 문서
You may also like to read 같은를 읽을 수있습니다 |





November 27th, 2005 at 2:24 pm 2005년 11월 27일에서 오후 2시 24분
One thing I hate about Java is that I can not get the event of clicking on the title bar(I am talking about window decorations), and when I open a menu, as I used to, I want to close it by clicking on a safe place, like title bar. 자바가 한가지를 할 수 없기에 대한 증오의 이벤트를 클릭하면 제목 표시줄에 (나는 창을 얘기를 장식), 그리고 메뉴를 열 때, 내가 사용하여,하고 싶은가를 클릭하여 닫습니다 안전한 장소, 같은 제목 표시줄에있습니다. and when I do this nothing happens, because no event is generated when I do that. 그리고 그렇게했을 때이 아무런 변화가 없으며, 그렇게되면이 없기 때문에 이벤트가 생성됩니다. Very annoying.. 아주 짜증나는 ..