viewtable.java
来自「java数据库编程。JDBC+SQL+GUI。用java写的一个影碟租赁系统」· Java 代码 · 共 41 行
JAVA
41 行
//Vedio rental System Developed by Banu
import javax.swing.JFrame;
import java.awt.event.ActionEvent;
public class viewTable extends abstractInputTableDialogue
{
public viewTable (JFrame mainApp, String[] strList)
{
super(mainApp, strList);
this.setTitle("Select Table for View");
lblStatus.setText("Chose a table and Click View");
cmdClick.setText("View");
}
public void actionPerformed (ActionEvent e)
{
if (e.getSource() == cmdCancel)
{
this.setVisible(false);
}
else
{
String strTableName = txtTable.getText();
if (!strTableName.equalsIgnoreCase(""))
{
strChosenTable = strTableName;
this.setVisible(false);
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?