layoutBuilder.cell(new JLabel("This page demonstrates the exception handling."));
layoutBuilder.row();
layoutBuilder.cell(new JLabel("Push the buttons and see which exception handler gets choosen."));
layoutBuilder.row();
layoutBuilder.cell(new JLabel("That defines the log level and the dialog shown."));
layoutBuilder.row();
layoutBuilder.unrelatedGapRow();
JButton badCredentials = new JButton(new AbstractAction("Login with bad credentials"){
public void actionPerformed(ActionEvent e) {
loginWithBadCredentials();