Java Software Platform J2SE6 (Mustang) Enables System Tray / Taskbar Javaソフトウェアプラットフォーム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. Java 2プラットフォームスタンダードエディション6.0版(ムスタング)を使用するアクセスを通じて、システムトレイの2つの教室を開催してjava.awtパッケージ:トレイアイコンsystemtrayとします。 
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.の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 Javaソフトウェア , 、 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 pmの
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..非常に迷惑な..