📄 applicationframe$1.java
字号:
// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov Date: 2007-5-16 21:06:53
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: ApplicationFrame.java
import com.sun.rowset.CachedRowSetImpl;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.*;
import javax.sql.rowset.CachedRowSet;
import javax.swing.*;
class ApplicationFrame$1
implements ActionListener
{
public void actionPerformed(ActionEvent actionevent)
{
try
{
if(ApplicationFrame.access$000(ApplicationFrame.this) != null)
remove(ApplicationFrame.access$000(ApplicationFrame.this));
String s = (String)ApplicationFrame.access$100(ApplicationFrame.this).getSelectedItem();
if(ApplicationFrame.access$200(ApplicationFrame.this) != null)
ApplicationFrame.access$200(ApplicationFrame.this).close();
String s1 = (new StringBuilder()).append("SELECT * FROM ").append(s).toString();
ApplicationFrame.access$202(ApplicationFrame.this, ApplicationFrame.access$300(ApplicationFrame.this).executeQuery(s1));
if(ApplicationFrame.access$400(ApplicationFrame.this))
{
ApplicationFrame.access$502(ApplicationFrame.this, new ResultSetTableModel(ApplicationFrame.access$200(ApplicationFrame.this)));
for(int i = 0; i < ApplicationFrame.access$500(ApplicationFrame.this).getColumnCount(); i++)
Apriori.TableHeader[i] = ApplicationFrame.access$500(ApplicationFrame.this).getColumnName(i);
} else
{
CachedRowSetImpl cachedrowsetimpl = new CachedRowSetImpl();
cachedrowsetimpl.populate(ApplicationFrame.access$200(ApplicationFrame.this));
ApplicationFrame.access$502(ApplicationFrame.this, new ResultSetTableModel(cachedrowsetimpl));
for(int j = 0; j < ApplicationFrame.access$500(ApplicationFrame.this).getColumnCount(); j++)
Apriori.TableHeader[j] = ApplicationFrame.access$500(ApplicationFrame.this).getColumnName(j);
}
JTable jtable = new JTable(ApplicationFrame.access$500(ApplicationFrame.this));
ApplicationFrame.access$002(ApplicationFrame.this, new JScrollPane(jtable));
add(ApplicationFrame.access$000(ApplicationFrame.this), "Center");
validate();
}
catch(SQLException sqlexception)
{
sqlexception.printStackTrace();
}
}
final ApplicationFrame this$0;
ApplicationFrame$1()
{
this$0 = ApplicationFrame.this;
super();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -