好吧我編譯了我的腳本,其中輸出了5個類,BankValueGUI,BankValueGUI $ 1,BankValueGUI $ 2 &等。我不小心刪除了源文件,所以我不得不對它進行反編譯,但是它沒有反編譯成1.java文件,它被反編譯成了5個。一旦嘗試將Class放入主類中,我會繼續接收錯誤,這裏的主要來源:一類中的Java類
package scripts.BankChecker;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.SequentialGroup;
import javax.swing.JFileChooser;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class BankValueGUI extends javax.swing.JFrame
{
private javax.swing.JButton inputFileButton;
private JFileChooser inputFileChooser;
private javax.swing.JTextField inputFileField;
private javax.swing.JLabel jLabel1;
private javax.swing.JButton startButton;
public BankValueGUI()
{
initComponents();
}
private void initComponents()
{
inputFileChooser = new JFileChooser();
jLabel1 = new javax.swing.JLabel();
inputFileField = new javax.swing.JTextField();
inputFileButton = new javax.swing.JButton();
startButton = new javax.swing.JButton();
inputFileChooser.setAcceptAllFileFilterUsed(false);
inputFileChooser.setApproveButtonText("Choose this file");
inputFileChooser.setApproveButtonToolTipText("Make sure there is one account per line, in user:pass format");
inputFileChooser.setCurrentDirectory(new java.io.File(System.getProperty("user.home")));
inputFileChooser.setDialogTitle("Choose the text file containing accounts to check");
inputFileChooser.setFileFilter(new javax.swing.filechooser.FileNameExtensionFilter("TEXT FILES", new String[] { "txt", "text" }));
inputFileChooser.addActionListener(new BankValueGUI$1(this));
setDefaultCloseOperation(3);
jLabel1.setText("Input File:");
inputFileField.setEditable(false);
inputFileField.setText("The file containing accounts to check");
inputFileButton.setText("Browse");
inputFileButton.addActionListener(new BankValueGUI$2(this));
startButton.setText("Start");
startButton.setEnabled(false);
startButton.addActionListener(new BankValueGUI$3(this));
GroupLayout layout = new GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(8, 8, 8)
.addComponent(jLabel1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(inputFileField, -2, 331, -2)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(inputFileButton)
.addGap(0, 12, 32767))
.addGroup(layout.createSequentialGroup()
.addComponent(startButton, -1, -1, 32767)
.addContainerGap()))));
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1)
.addComponent(inputFileField, -2, -1, -2)
.addComponent(inputFileButton))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(startButton)
.addContainerGap(-1, 32767)));
pack();
}
private void inputFileButtonActionPerformed(java.awt.event.ActionEvent evt) {
inputFileChooser.showOpenDialog(this);
}
private void inputFileChooserActionPerformed(java.awt.event.ActionEvent evt) {
inputFileField.setText(inputFileChooser.getSelectedFile().getAbsolutePath());
startButton.setEnabled(true);
}
private void startButtonActionPerformed(java.awt.event.ActionEvent evt) {
ScriptWorker.inFile = inputFileChooser.getSelectedFile();
ScriptWorker.guiDone = true;
dispose();
}
public static void main(String[] args)
{
try
{
for (javax.swing.UIManager.LookAndFeelInfo info :) {
if ("Windows".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(BankValueGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(BankValueGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(BankValueGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(BankValueGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
java.awt.EventQueue.invokeLater(new BankValueGUI$4());
}
}
,這裏是類的
class 1 implements ActionListener {
@Override
public void actionPerformed(final ActionEvent evt) {
BankValueGUI.access$0(BankValueGUI.this, evt);
}
}
class 2 implements ActionListener {
@Override
public void actionPerformed(final ActionEvent evt) {
BankValueGUI.access$1(BankValueGUI.this, evt);
}
}
class 3 implements ActionListener {
@Override
public void actionPerformed(final ActionEvent evt) {
BankValueGUI.access$2(BankValueGUI.this, evt);
}
}
class 4 implements Runnable {
@Override
public void run() {
new BankValueGUI().setVisible(true);
}
}
拿不出我使用擴展庫,以便TRIBOTs庫,所以會有您的最終更多的錯誤有關TRIBOT相關的內容。
你檢查了你的回收站;)? – Abubakkar
你的名字是你的名字1 - 4嗎? – redFIVE
是的,我已經嘗試過recuva工具,也沒有運氣:/ –