properties.put("alias", "myJDBC");
properties.put("url", "jdbc:provider://<hostname>[<:port>]/<dbname>[?<param1>=<value1>]");
properties.put("driver", "com.mydriver.MyDriver");
}
final MapPropertyDialog dialog = new MapPropertyDialog(HermesBrowser.getBrowser(), "JDBC Properties",
"\nYou need to provide an alias for this database and its URL and driver.\n", properties, true);
dialog.addOKAction(new Runnable()
{
public void run()
{
doOnOK(properties);
}
});
dialog.show();
}