📄 querrylist.java
字号:
package ct;import javax.swing.*;import com.borland.dbswing.*;import java.awt.*;import com.borland.jbcl.layout.*;public class QuerryList extends JFrame { XYLayout xYLayout1 = new XYLayout(); TableScrollPane tableScrollPane1 = new TableScrollPane(); JdbTable jdbTable1 = new JdbTable(); JLabel jLabel1 = new JLabel(); String filename; public QuerryList() { try { jbInit(); } catch(Exception e) { e.printStackTrace(); } } private void jbInit() throws Exception { this.getContentPane().setLayout(xYLayout1); xYLayout1.setWidth(400); xYLayout1.setHeight(415); this.setTitle("排行榜"); this.setDefaultCloseOperation(DISPOSE_ON_CLOSE); jLabel1.setText(""); filename="../ct/chuangti3.jpg"; jLabel1.setIcon(new ImageIcon(filename)); this.getContentPane().add(tableScrollPane1, new XYConstraints(29, 31, 338, 353)); this.getContentPane().add(jLabel1, new XYConstraints(0, 0, 403, 419)); tableScrollPane1.getViewport().add(jdbTable1, null); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -