Define "installed programs".
Do you mean something like Window's Add/Remove Programs? Then you'll have to go into the registry. Use Google to find libraries for accessing the registry and which registry keys to use.
Do you mean all executables found on a system? Then you can use File.listRoots() and File.listFiles() in recursion. Keep in mind that this will be a lengthy procedure; the Windows folder alone contains several thousands of files and easily one hundred sub folders. Program Files is usually of equal magnitude.
Either way, use a JList (single column) or JTable (multiple columns) to display the results.
Rob Prime wrote:Define "installed programs".
Do you mean something like Window's Add/Remove Programs? Then you'll have to go into the registry. Use Google to find libraries for accessing the registry and which registry keys to use.
Yeah i want to find out if some has the library for finding all the display name for installed programs from the registry.