ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.
One of a set of tools we're offering as a way to say thank you for being a part of the community.
you can make your own Properties object, fill it with the appropriate information and use it ...
it seems that
Properties prop = System.getProperties();
causes SecurityException but
String version = System.getProperty("java.v
works ...
so get your properties one by one, fill your own properties object and ... that;s all ?
hope this helps
heyhey
/*
this applet works foe me - Win95 + Netscape 4.05
*/
import java.awt.*;
import java.util.*;
import java.applet.*;
public class Applet1 extends Applet
{
Label label1;
Label label2;
public void init()
{
setLayout(null);
setSize(426,266);
label1 = new java.awt.Label("text");
label1.setBounds(48,48,50,
add(label1);
label2 = new java.awt.Label("text");
label2.setBounds(48,72,50,
add(label2);
// Properties prop = System.getProperties();
String version = System.getProperty("java.v
label1.setText(version);
String os = System.getProperty("os.nam
label2.setText(os);
}
}