/*     */   public String createGuiFrame()
/*     */     throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException, IOException
/*     */   {
/*     */     try
/*     */     {
/*  87 */       for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels())
/*  88 */         if ("Nimbus".equals(info.getName())) {
/*  89 */           UIManager.setLookAndFeel(info.getClassName());
/*     */ 
/*  92 */           break;
/*     */         }
/*     */     }
/*     */     catch (Exception e) {
/*  96 */       UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
/*     */     }
/*     */ 
/*  99 */     this.guiFrame = new JFrame();
/*     */ 
/* 101 */     this.guiFrame.setDefaultCloseOperation(3);
/* 102 */     this.guiFrame.setBackground(Color.WHITE);
/* 103 */     this.guiFrame.setTitle("Security");
/* 104 */     this.guiFrame.setSize(500, 300);
/*     */ 
/* 107 */     this.guiFrame.setLocationRelativeTo(null);
/* 108 */     this.guiFrame.setVisible(true);
/*     */ 
/* 111 */     this.tracker = new JTextArea("Password Tracker:");
/* 112 */     this.guiFrame.getContentPane().add(this.tracker);
/*     */ 
/* 115 */     JPanel userPanel = new JPanel();
/* 116 */     JLabel dis = new JLabel("MULTI-SOCIAL\n", 0);
/* 117 */     JLabel space = new JLabel();
/* 118 */     userPanel.setLayout(new GridLayout(7, 1));
/*     */ 
/* 122 */     JLabel usernameLbl = new JLabel("Username:");
/*     */ 
/* 124 */     usernameLbl.setFont(new Font("Gothic", 1, 14));
/* 125 */     usernameLbl.setForeground(Color.BLACK);
/*     */ 
/* 128 */     JLabel passwordLbl = new JLabel("Password:");
/* 129 */     passwordLbl.setFont(new Font("Gothic", 1, 14));
/* 130 */     passwordLbl.setForeground(Color.BLACK);
/*     */ 
/* 134 */     this.confirm = new JButton("Confirm");
/* 135 */     this.register = new JButton("Register");
/*     */ 
/* 137 */     dis.setFont(new Font("BankGothic Lt Bt", 1, 21));
/*     */ 
/* 139 */     userPanel.add(dis);
/*     */ 
/* 141 */     userPanel.add(usernameLbl);
/* 142 */     userPanel.add(this.username);
/*     */ 
/* 144 */     userPanel.add(passwordLbl);
/* 145 */     userPanel.add(this.passwordFld);
/* 146 */     this.confirm.addActionListener(this);
/* 147 */     this.register.addActionListener(this);
/* 148 */     userPanel.add(this.confirm);
/* 149 */     userPanel.add(this.register);
/*     */ 
/* 151 */     Object[] options = { "Help", "Configure", "Cancel" };
/* 152 */     int input = JOptionPane.showOptionDialog(this.guiFrame, userPanel, "Security", 
/* 153 */       1, -1, 
/* 154 */       null, options, null);
/*     */ 
/* 162 */     if (input == 0) {
/* 163 */       File file = new File("db.txt");
/* 164 */       File file1 = new File("dc.txt");
/* 165 */       File file2 = new File("dp.txt");
/* 166 */       file2.delete();
/* 167 */       file.delete();
/* 168 */       file1.delete();
/*     */ 
/* 170 */       JOptionPane.showMessageDialog(this.guiFrame, "\nFatal Error, Please attempt to log in AGAIN.\nThank You.", "Reset", 2, this.icon2);
/*     */     }
/* 173 */     else if (input == 1) {
/* 174 */       JOptionPane.showMessageDialog(this.guiFrame, "Feature Coming Soon", "Configure", 1, this.icon1);
/*     */     }
/*     */     else
/*     */     {
/* 178 */       this.tracker.append("\nSecurity Protocol cancelled...");
/*     */     }
/*     */ 
/* 181 */     return null;
/*     */   }