12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package prfourgui.View;
-
- /**
- *
- * @author baumannan68085
- */
- public class AdressTable extends javax.swing.JPanel
- {
-
- /**
- * Creates new form AdressTable
- */
- public AdressTable()
- {
- initComponents();
- }
-
- /**
- * This method is called from within the constructor to initialize the form.
- * WARNING: Do NOT modify this code. The content of this method is always
- * regenerated by the Form Editor.
- */
- @SuppressWarnings("unchecked")
- // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
- private void initComponents()
- {
-
- jPopupMenu1 = new javax.swing.JPopupMenu();
- jMenuItem1 = new javax.swing.JMenuItem();
- jScrollPane1 = new javax.swing.JScrollPane();
- jTable1 = new javax.swing.JTable();
-
- jMenuItem1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prfourgui/Icons/Delete24.gif"))); // NOI18N
- jMenuItem1.setText("Remove");
- jPopupMenu1.add(jMenuItem1);
-
- setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.LINE_AXIS));
-
- jTable1.setModel(new javax.swing.table.DefaultTableModel(
- new Object [][]
- {
- {null, null, null, null},
- {null, null, null, null},
- {null, null, null, null},
- {null, null, null, null}
- },
- new String []
- {
- "Name", "Telefon", "Mobil", "E-Mail"
- }
- ));
- jTable1.setComponentPopupMenu(jPopupMenu1);
- jScrollPane1.setViewportView(jTable1);
-
- add(jScrollPane1);
- }// </editor-fold>//GEN-END:initComponents
-
-
- // Variables declaration - do not modify//GEN-BEGIN:variables
- private javax.swing.JMenuItem jMenuItem1;
- private javax.swing.JPopupMenu jPopupMenu1;
- private javax.swing.JScrollPane jScrollPane1;
- private javax.swing.JTable jTable1;
- // End of variables declaration//GEN-END:variables
- }
|