dividerLoc = d;
this.validate();
}
public void createNewProfile() {
WebPolicy p = new WebPolicy();
URL url = WebPolicyEditor.class
.getResource("/org/jwall/web/profile/standard-types.xml");
if (url != null) {
try {
WebPolicy std = WebPolicy.load(url.openStream());
if (std != null) {
for (ResourceClass rc : std.getResourceClasses())
p.add(rc);
for (ParameterType pt : std.getParameterTypes())
p.add(pt);
}
} catch (Exception e2) {
e2.printStackTrace();