WinPack Features

WinPack provides an extensive set of platform integration features to make your Java program look and behave like a first-class Win32 citizen.

Wrapper for the Native Select Color Dialog

Allow your Microsoft Windows users to choose colors using the full-featured Select Color dialog they are used to.

Check the WinPack Demo to see the dialog in action.



Wrapper for Native Open/Save File Dialog

Use the standard Microsoft Windows Open/Save File dialog in your Java program instead of JDK dialogs or JFileChooser to make your program really integrated with the platform.




Wrapper for Native Select Folder Dialog

No need to confuse users with the Open File dialog when your program actually needs a folder.

The dialog allows opening folders, printers, network locations, etc., which is illustrated in the WinPack Demo.



Window Decorations

Making windows always-on-top, transparent, flashing on the taskbar, etc

Enhance your application using the WinPack Window Decorator functions with:
- custom-shaped windows
- multi-level window transparency
- palette style windows
- topmost windows

A transparent palette styled window is shown on the screenshot.

WinPack: A transparent palette styled window

Click for a larger image

Custom Shape Window

Creating non-rectangular windows using custom Regions

You want your program to have an attractive non-rectangular splash screen?
It's easy! Just choose a picture, specify a transparency color for it and you have an attractive splash screen ready.

Check the WinPack Demo to see what you can do.

WinPack: A transparent non-rectangular splash screen

Click for a larger image

Access to Windows Registry

A small piece of code written by you will allow your software to read, write or delete the registry keys and values. There are supported most of major data types.

Check WinPack Demo to see the Registry viewer implemented using a new RegistryKey class.

The Registry viewer implemented inside WinPack Demo by using WinPack's RegistryKey class

Click for a larger image

Tray Icons

WinPack: Java Application in system
tray with icon and baloon hint Using various tray icons for the application, displaying and hiding balloon tips for tray icons

This functionality allows you to put your Java application into the system tray and display specific options on the pop-up menu. Display of balloon messages from the tray is also supported.

Shell Folders

Getting paths and icons for user folders (Favorites, My Pictures, etc.)

Play by the rules of your operating system. Store work files in the user folders and then find these folders with ease using the ShellFolders functions.
You can also see folder icons extracted from Folder settings and converted to Java image by using a new Windows Icon to Java Image conversion method.

Check more WinPack features in WinPack Demo.

WinPack Demo displays the paths of default user shell folders like 'My Documents', 'My Music', 'Favorites', etc

Click for a larger image

System Colors and Metrics

Getting Windows Appearance Schema colors and metrics

You don't want to spend much time on a custom user interface? Make your Java program look like other programs around. Get the Windows Appearance Schema colors and apply them to your software in no time.
Modification of the Color Schema is allowed. Just click the color and change it using the standard Windows Select Color dialog that WinPack now wraps inside itself.

Check how we did it in WinPack Demo.

WinPack gets Windows Appearance Schema colors and applies them to itself

Click for a larger image

Managing the system link files

Get more Shell functionality! Now WinPack enables you to create and resolve native links.

Explore more in WinPack Demo.



File System Watcher

Listening to the file system events

This functionality allows you to easily monitor changes inside a specified folder. All or just specified by the filter files can be watched inside the selected folder only or recursively in all subfolders.
All kinds of changes are detected:
- file removal
- file addition
- file renaming
- file size or contents change
- file attributes modifications



Files Management Extensions

Getting file attributes, checking disk space, etc

With WinPack it is no longer a problem to:
- Get file attributes
- Check disk space
- Identify the disk media type (CD, mapped network drive, local drive, etc.)

System Info

Gathering CPU and memory information

The Processor Information functionality enables you to get virtually all information about the processor (CPU), including such options as:
- Processor Vendor
- Processor Name
- Family
- Model
- Frequency
- MMX or 3DNow! support flags


The Memory Information functionality allows reporting the amounts of physical Total and Available memory, etc.

Services

Managing NT Services

Winpack provides ultimate NT Services management.
Using the provided Services API, you can:
- Start a service
- Stop a service
- Delete a service
- Create a new service
- List all services
- Change service options
- and more...

Processes

Monitoring and managing processes

The Processes API included in WinPack gives you the power to monitor and manage all running processes, modules, memory, etc. Available operations allow you to:
- Create a new process.
- Retrieve the process information such as its ID, status, etc.
- Terminate the process.
- Wait for the process termination.

Also, the Processes API includes the following monitoring functions, available in the new Snapshot class:
- List of all running processes and detailed information about each process.
- List of all running modules and detailed information about each module.
- List of all running threads and detailed information about each thread.
- Process heap information.
- and more...

This API also exposes the following useful capabilities:
- Process environment variables maintanance.
- System environment variables maintanance.
- Current process command line, current process ID, etc.

Hooks

Providing various system hooks, such as Mouse Hook, Keyboard Hook, etc

Did you ever need to be aware of all the system events in your program? The Hooks API gives such an ability!
You can easily install a necessary hook to gain the ultimate control over the system resources from Java programs. The Hooks API represents the following list of available hooks:

KEYBOARDRecords input messages posted to the system message queue.
MOUSEMonitors the mouse messages.
JOURNALRECORDRecords input messages posted to the system message queue.
GETMESSAGEMonitors messages posted to the message queue.
SHELLReceives notifications useful to shell applications.
CALLWNDPROCMonitors messages before the system sends them to the destination window procedure.
CALLWNDPROCRETMonitors messages after they have been processed by the destination window procedure.
FOREGROUNDIDLEIs called when the application's foreground thread is about to become idle.
SYSMSGFILTERMonitors messages generated as a result of an input event in a dialog box, message box, menu, or scroll bar.

DDE

Communicating with native applications via the DDE protocol

The DDE API included in WinPack allows a Java application to communicate with native Windows applications via the Dynamic Data Exchange (DDE) protocol.
The API provides both the client-side and server-side implementations. In other words, a Java application can be a DDE server or a DDE client for other applications, or it can be a DDE server and client simultaneously.

System Event Logs

Managing and monitoring the system event logs

The System Event Log API included in WinPack allows you to monitor various system event logs and also provides functionality to:
- Back up or restore the system event logs.
- Post new log messages.
- Clear logs.
- List all event log messages.

Feel the pleasure of writing code in the Java language only!

Online Demo

To see the WinPack functionality in action, check Online Demo. To run the Demo, you need to have Java™ WebStart installed.

Download WinPack