Advertisement
bungfaz46

java 1

Aug 29th, 2018
1,199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 0.60 KB | None | 0 0
  1. public class data_penjualan extends javax.swing.JInternalFrame {
  2.  
  3.     private JTable table = null;
  4.     private Connection con = null;
  5.     SimpleDateFormat dateformat = new SimpleDateFormat("yyyy-MM-dd");
  6.  
  7.     /**
  8.      * Creates new form bahan
  9.      */
  10.     public data_penjualan() {
  11.         initComponents();
  12.         Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
  13.         setLocation((dim.width / 2) - (getSize().width / 2), (dim.height / 2) - (getSize().height / 2));
  14.         tampilTabel();
  15.         tanggal();
  16.         update.setEnabled(false);
  17.         table.setEnabled(false);
  18.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement