/*     */   private JPanel buildLoginPanel() {
/* 208 */     TransparentPanel localTransparentPanel1 = new TransparentPanel();
/* 209 */     localTransparentPanel1.setInsets(4, 0, 4, 0);
/*     */ 
/* 211 */     BorderLayout localBorderLayout = new BorderLayout();
/* 212 */     localBorderLayout.setHgap(0);
/* 213 */     localBorderLayout.setVgap(8);
/* 214 */     localTransparentPanel1.setLayout(localBorderLayout);
/*     */ 
/* 216 */     GridLayout localGridLayout1 = new GridLayout(0, 1);
/* 217 */     localGridLayout1.setVgap(2);
/* 218 */     GridLayout localGridLayout2 = new GridLayout(0, 1);
/* 219 */     localGridLayout2.setVgap(2);
/* 220 */     GridLayout localGridLayout3 = new GridLayout(0, 1);
/* 221 */     localGridLayout3.setVgap(2);
/*     */ 
/* 223 */     TransparentPanel localTransparentPanel2 = new TransparentPanel(localGridLayout1);
/* 224 */     TransparentPanel localTransparentPanel3 = new TransparentPanel(localGridLayout2);
/*     */ 
/* 226 */     localTransparentPanel2.add(new TransparentLabel("Username:", 4));
/* 227 */     localTransparentPanel2.add(new TransparentLabel("Password:", 4));
/* 228 */     localTransparentPanel2.add(new TransparentLabel("", 4));
/*     */ 
/* 230 */     localTransparentPanel3.add(this.userName);
/* 231 */     localTransparentPanel3.add(this.password);
/* 232 */     localTransparentPanel3.add(this.rememberBox);
/*     */ 
/* 234 */     localTransparentPanel1.add(localTransparentPanel2, "West");
/* 235 */     localTransparentPanel1.add(localTransparentPanel3, "Center");
/*     */ 
/* 237 */     TransparentPanel localTransparentPanel4 = new TransparentPanel(new BorderLayout());
/*     */ 
/* 239 */     TransparentPanel localTransparentPanel5 = new TransparentPanel(localGridLayout3);
/* 240 */     localTransparentPanel2.setInsets(0, 0, 0, 4);
/* 241 */     localTransparentPanel5.setInsets(0, 10, 0, 10);
/*     */ 
/* 243 */     localTransparentPanel5.add(this.optionsButton);
/* 244 */     localTransparentPanel5.add(this.launchButton);
/*     */     try
/*     */     {
/*     */       Object localObject;
/* 246 */       if (this.outdated) {
/* 247 */         localObject = getUpdateLink();
/* 248 */         localTransparentPanel5.add((Component)localObject);
/*     */       } else {
/* 250 */         localObject = new TransparentLabel("Need account?") {
/*     */           private static final long serialVersionUID = 0L;
/*     */ 
/*     */           public void paint(Graphics paramGraphics) {
/* 255 */             super.paint(paramGraphics);
/*     */ 
/* 257 */             int i = 0;
/* 258 */             int j = 0;
/*     */ 
/* 262 */             FontMetrics localFontMetrics = paramGraphics.getFontMetrics();
/* 263 */             int k = localFontMetrics.stringWidth(getText());
/* 264 */             int m = localFontMetrics.getHeight();
/*     */ 
/* 266 */             if (getAlignmentX() == 2.0F) i = 0;
/* 267 */             else if (getAlignmentX() == 0.0F) i = getBounds().width / 2 - k / 2;
/* 268 */             else if (getAlignmentX() == 4.0F) i = getBounds().width - k;
/* 269 */             j = getBounds().height / 2 + m / 2 - 1;
/*     */ 
/* 271 */             paramGraphics.drawLine(i + 2, j, i + k - 2, j);
/*     */           }
/*     */ 
/*     */           public void update(Graphics paramGraphics)
/*     */           {
/* 276 */             paint(paramGraphics);
/*     */           }
/*     */         };
/* 280 */         ((TransparentLabel)localObject).setCursor(Cursor.getPredefinedCursor(12));
/* 281 */         ((TransparentLabel)localObject).addMouseListener(new MouseAdapter()
/*     */         {
/*     */           public void mousePressed(MouseEvent paramMouseEvent) {
/*     */             try {
/* 285 */               Util.openLink(new URL("http://www.tunacraft.com/login/register.php?sn=NiflHeimCraft").toURI());
/*     */             } catch (Exception localException) {
/* 287 */               localException.printStackTrace();
/*     */             }
/*     */           }
/*     */         });
/* 291 */         ((TransparentLabel)localObject).setForeground(LINK_COLOR);
/* 292 */         localTransparentPanel5.add((Component)localObject);
/*     */       }
/*     */     }
/*     */     catch (Error localError) {
/*     */     }
/* 297 */     localTransparentPanel4.add(localTransparentPanel5, "Center");
/* 298 */     localTransparentPanel1.add(localTransparentPanel4, "East");
/*     */ 
/* 300 */     this.errorLabel.setFont(new Font(null, 2, 16));
/* 301 */     this.errorLabel.setForeground(new Color(16728128));
/* 302 */     this.errorLabel.setText("");
/* 303 */     localTransparentPanel1.add(this.errorLabel, "North");
/*     */ 
/* 305 */     return (JPanel)localTransparentPanel1;
/*     */   }