//ArrayList<OConnectionClass> res = new ArrayList<OConnectionClass>();
if (OConnectionClass.pref_root != null) {
try {
for (String c : OConnectionClass.pref_root.childrenNames()) {
Preferences pref = OConnectionClass.pref_root.node(c);
OConnectionClass ocl = new OConnectionClass(c, pref.get("ServerName", ""), pref.getInt("Port", 1521), pref.get("DatabaseName", ""), pref.get("ConnectionType", "SID"));
ocl.Refresh();
Connections.add(ocl);
}
} catch (BackingStoreException ex) {
Exceptions.printStackTrace(ex);
}