API CallUsed forCommentRegistry managementWriteToRegistryWrite or update a registry key. Constants are available such as REGConstants. HKEY_CURRENT_USER for example.
DeleteRegistryKeyDeletes a registry KEY. Constants are available such as REGConstants. HKEY_CURRENT_USER for example. DeleteRegistryValueDeletes a registry VALUE.
Constants are available such as REGConstants. HKEY_CURRENT_USER for example. Message boxesMessageBoxUsed to display a message boxFull support of the Message Box Icons and Buttons are availableInputBoxUsed to obtain input from the userUseful when a one line input is required ex: What is your name?
Common DialogsOpenDialogOpens the Windows Common Dialog to Open a file. Used by the user to provide a filename to process. SaveDialogOpens fhe Windows Common Dialog to Save a file.
Used by the user to provide where to save a file. Process informationGetWindowHandleGiven a Window Titlereturn the Windows Handle to it. Useful in orther functions.
GetProcessIDUsed to acquire the current windows process ID of you running JAVA Application. Useful in other API calls. GetWindowProcessesReturns an array of type 'JWinProcess' that contains info about every running process.
Useful to manipulate processes -- even kill them. GetProcessNameReturn the process nameUsually 'java' or 'javaw'. KillProcessGiven a PID (obtained from GetWindowProcesses) kill it.
Ends a process. ShowWindowProvide the window handle (see GetWindowHandle) and the appropriate window flags, and you can maximize, minimize or hide this window.
This applies to any window. Launch filesLaunchFileGiven a filename, launch it with the appropriate associated application. Just provide the file name ('abc.
xls') and the proper app will open. Windows informationGetUserNameReturns the user name that is currently logged in to this Windows station. This is the ID that the user logged in with.
GetComputerNameReturns the computer name. This is computer name as known to Windows. GetWindowsDirectoryReturns the Windows directory. This is the Windows directory (;C:\WINDOWS;) for example.
GetWindowsTempDirectoryReturns the Windows 'temp' directory. This is the Windows 'temp' directory (;C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp;) for example.