} catch (Exception e) {}
//login
try {
final JDBCLoginService loginService = new JDBCLoginService(
"sun.jdbc.odbc.JdbcOdbcDriver", "jdbc:odbc:northwind");
DefaultUserNameStore userNames = new DefaultUserNameStore();
Preferences appPrefs = Preferences.userNodeForPackage(Test.class);
userNames.setPreferences(appPrefs.node("login"));
final JXLoginPanel.JXLoginFrame frame = JXLoginPanel.showLoginFrame(
loginService, null, userNames);
frame.getPanel().setBannerText("Welcome to Postila");
frame.addWindowListener(new WindowAdapter() {
public void windowClosed(java.awt.event.WindowEvent e) {