Kaydet (Commit) 8c25d105 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS jl8 (1.1.2); FILE ADDED

2004/06/24 14:12:04 jl 1.1.2.2: #i30342#
2004/06/18 14:56:34 jl 1.1.2.1: #i30342# plugin supports multiple vendors
üst 03770d3e
import java.io.*;
import java.util.*;
import java.awt.*;
public class JREProperties
{
static public void main(String[] args)
{
try
{
try{
//This line is needed to get the accessibility properties
Toolkit tk = java.awt.Toolkit.getDefaultToolkit();
}
catch(Throwable e)
{
System.err.println(e);
}
Properties p = System.getProperties();
Enumeration e = p.propertyNames();
for (; e.hasMoreElements() ;) {
String sProp = (String) e.nextElement();
String sCompleteProp = sProp + "=" + p.getProperty(sProp);
System.out.println(sCompleteProp);
}
}
catch(Exception e)
{
System.err.println(e);
}
System.exit(0);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment