style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-5164839828746352"
data-ad-slot="7563230308">

AYUDA COMO ARREGLO ESTE ERROR java.lang.UnsupportedOperationException: Not yet implemented

public f(Frame paramFrame)
{
this.n = paramFrame;

//AQUI ME MANDA EL ERROR Y YA NO PUEDO HACER NADA CON LA VARIABLE O QUE VIENE DE LA CLASE L
this.o = l();

this.a = new JLabel("Proxy: ");
this.b = new JLabel(this.o.a("username") + ": ");
this.c = new JLabel(this.o.a("password") + ": ");
this.d = new JLabel("Realm: ");
this.e = new JLabel(this.o.a("scheme") + ": ");
this.f = new JLabel("");
this.g = new JLabel("");
this.h = new JLabel("Basic");
this.j.setColumns(20);
this.j.setMargin(new Insets(3, 0, 3, 0));
this.i.setMargin(new Insets(3, 0, 3, 0));
JPanel localJPanel;
(localJPanel = new JPanel()).setLayout(new GridBagLayout());
GridBagConstraints localGridBagConstraints;
(localGridBagConstraints = new GridBagConstraints()).gridx = 0;
localGridBagConstraints.gridy = 0;
localGridBagConstraints.weightx = 1.0D;
localGridBagConstraints.insets = new Insets(0, 0, 3, 0);
localGridBagConstraints.fill = 1;
localJPanel.add(this.a, localGridBagConstraints);
localGridBagConstraints.gridx = 1;
localJPanel.add(this.f, localGridBagConstraints);
localGridBagConstraints.gridx = 0;
localGridBagConstraints.gridy = 1;
localJPanel.add(this.d, localGridBagConstraints);
localGridBagConstraints.gridx = 1;
localGridBagConstraints.gridy = 1;
localJPanel.add(this.g, localGridBagConstraints);
localGridBagConstraints.gridx = 0;
localGridBagConstraints.gridy = 2;
localGridBagConstraints.insets = new Insets(0, 0, 15, 0);
localJPanel.add(this.e, localGridBagConstraints);
localGridBagConstraints.gridx = 1;
localGridBagConstraints.gridy = 2;
localGridBagConstraints.insets = new Insets(0, 0, 15, 0);
localJPanel.add(this.h, localGridBagConstraints);
localGridBagConstraints.gridx = 0;
localGridBagConstraints.gridy = 3;
localGridBagConstraints.insets = new Insets(0, 0, 10, 0);
localJPanel.add(this.b, localGridBagConstraints);
localGridBagConstraints.gridx = 1;
localGridBagConstraints.gridy = 3;
localGridBagConstraints.insets = new Insets(0, 0, 10, 0);
localJPanel.add(this.i, localGridBagConstraints);
localGridBagConstraints.gridx = 0;
localGridBagConstraints.gridy = 4;
localGridBagConstraints.insets = new Insets(0, 0, 10, 0);
localJPanel.add(this.c, localGridBagConstraints);
localGridBagConstraints.gridx = 1;
localGridBagConstraints.gridy = 4;
localGridBagConstraints.insets = new Insets(0, 0, 10, 0);
localJPanel.add(this.j, localGridBagConstraints);
this.i.setText("");
this.j.setText("");
this.m = new JOptionPane(localJPanel, 3, 2, null, new String[] { "OK", this.o.a("cancel") }, "OK");
this.i.addFocusListener(new d());
this.j.addFocusListener(new d());
}

public final int a(String paramString1, String paramString2, boolean paramBoolean)
{
this.f.setText(paramString1);
this.g.setText(paramString2);
if (paramBoolean)
this.l = this.m.createDialog(this.n, this.o.a("login_incorrect"));
else
this.l = this.m.createDialog(this.n, this.o.a("authentication_required"));
this.l.addComponentListener(new a(this));
Dimension localDimension1 = Toolkit.getDefaultToolkit().getScreenSize();
Dimension localDimension2;
if ((localDimension2 = this.l.getSize()).height > localDimension1.height)
localDimension2.height = localDimension1.height;
if (localDimension2.width > localDimension1.width)
localDimension2.width = localDimension1.width;
this.l.setLocation((localDimension1.width - localDimension2.width) / 2, (localDimension1.height - localDimension2.height) / 2);
this.l.setDefaultCloseOperation(0);
this.l.setVisible(true);
Object localObject = this.m.getValue();
return this.k = localObject.toString().equals("OK") ? 0 : 2;
}

public final int a()
{
return this.k;
}

public final PasswordAuthentication b()
{
return new PasswordAuthentication(this.i.getText(), this.j.getPassword());
}

static JPasswordField a(f paramf)
{
return paramf.j;
}

static JTextField b(f paramf)
{
return paramf.i;
}

// CUANDO COMENTO ESTO ME MARCA ERROR EN this.o = l();

private l l() {
throw new UnsupportedOperationException("Not yet implemented");
}

}

Comentarios

Opciones de visualización de comentarios

Seleccione la forma que prefiera para mostrar los comentarios y haga clic en «Guardar las opciones» para activar los cambios.
Imagen de neko069

Qué es lo que estás tratando

Qué es lo que estás tratando de decompilar? de dónde sacaste ése código?

código descompilado

al parecer el código que acabas de descompilar:
1. está ofuscado
2. utilizaste una herramienta de descompilación no muy eficiente

pero en cualquiera de los 2 casos, el método al que haces referencia, parece que lo obtuviste a través de algún IDE de programación (tipo NetBeans) y trataste ir a la definición (CTRL + BOTON_PRINCIPAL_MOUSE) de una biblioteca de la cual no tienes el código fuente.

style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-5164839828746352"
data-ad-slot="7563230308">