Chapter 2 - Code Snippets Creating a Java Application: Phase V - Adding User Interface controls p. 81 Step 3: Switch to the Source tab in the Viewer window and add the following code to the imports list at the top of the file: import oracle.dacf.control.LoginFailureException; Find the line that calls loginDlg1.setDataItemName()in the jbInit function. Add the following after that line: if (loginDlg1.showDialog() == JOptionPane.CANCEL_OPTION) { throw new LoginFailureException(); } -----------------------------------------------------------------------