Add Demo
Add Demo
Color;
import java.awt.EventQueue;
import java.awt.Font;
import javax.swing.JFrame;
import javax.swing.JTextField;
import javax.swing.table.DefaultTableModel;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
DemoShow window = new DemoShow();
window.frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the application.
*/
public DemoShow() {
initialize();
}
/**
* Initialize the contents of the frame.
*/JTable table = new JTable();
private void initialize() {
model.addRow(row);
}
});
btnAdd.setBounds(230, 89, 89, 23);
frame.getContentPane().add(btnAdd);
}
}