Javability (Java, Zaurus, Linux, Live) by Jean-Marc Autexier, Saarland/Germany
cat /dev/www | egrep 'Java|Linux|Zaurus|ITnews|Live' > blog

26.3.05 10:54 JDIC (Java Desktop Integration Components) code samples ( , , , )

JDIC has reached version 0.9. Time to have a look at it.

The best and complete way to know what JDIC can is to browse the API documentation. Below are some keywords extracted from javadoc, but easier to read if you just want to have an overview.

Browser
* Launch system default browser
* Navigation: back, forward, stop, setURL
* getContent(): get content of page (HTML), get URL

File
* isEditable(File)
* edit(): Launch associated editor to edit the given file
* open(): Launch the associated application to open the given file
* Icons1: get icon associated to a file on this system

Printing
* isPrintable(File)
* Prints a given file

Mail
* Launches the message compose window of the default mailer

SystemTray
* add/remove TrayIcon
* getDefaultSystemTray
* Tray icons: icon + caption + popup menu + tooltip + display message

I've added few code samples of those API's on my JDIC page.

posted by Jean-Marc Autexier | 0 comments | Permalink | Send to Friends | Google it!
Subscribe

Locations of visitors to this page
selected blogs
ressources
Security
Unsorted
Fun
Free&Open Software
archives
This is a personal web page. Things said here do not represent the position of my employer.
RSS icons by: FastIcon.com