📄 viewtable.java
字号:
//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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -