"justify">}
/ **
* 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»)
/ / void initComponents () {
=new javax.swing.JScrollPane ();=new javax.swing.JTable ();=new javax.swing.JButton ();
(«Запит на перегляд інформації про прокат»);
jTable1.setModel (new javax.swing.table. DefaultTableModel (Object [] [] {
{null, null, null, null},
{null, null, null, null},
{null, null, null, null},
{null, null, null, null}
}, String [] {
«Title 1», «Title 2», «Title 3», «Title 4»
}
));. setViewportView (jTable1);
. setText («Вихід»);. addActionListener (new java.awt.event. ActionListener () {void actionPerformed (java.awt.event. ActionEvent evt) {ActionPerformed (evt); p>
}
});
. swing. GroupLayout layout=new javax.swing. GroupLayout (getContentPane ()); (). SetLayout (layout);. SetHorizontalGroup (. CreateParallelGroup (javax.swing. GroupLayout. Alignment.LEADING) (layout.createSequentialGroup () () (layout.createParallelGroup (javax.swing. GroupLayout. Alignment.LEADING) (jScrollPane1, javax.swing. GroupLayout.DEFAULT_SIZE, 491, Short.MAX_VALUE) (jButton1, javax.swing. GroupLayout.DEFAULT_SIZE, javax.swing. GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ()) p>
);. setVerticalGroup (. createParallelGroup (javax.swing. GroupLayout. Alignment.LEADING) (layout.createSequentialGroup () () (jScrollPane1, javax.swing. GroupLayout.PREFERRED_SIZE, 154, javax.swing . GroupLayout.PREFERRED_SIZE) (javax.swing. LayoutStyle. ComponentPlacement.UNRELATED) (jButton1) (javax.swing. GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
();
} / / void jButton1ActionPerformed (java.awt.event. ActionEvent evt) {. setVisible (false);// TODO add your handling code here:
}
/ **
* @ param args the command line arguments
* / static void main (String args []) {
/ * Set the Nimbus look and feel * /
/ /
/ * If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see # «justify"> * / {(javax.swing.UIManager. LookAndFeelInfo info: javax.swing.UIManager.getInstalledLookAndFeels ()) {(«Nimbus». equals ( info.getName ())) {. swing.UIManager.setLookAndFeel (info.getClassName ());;
}
}
} catch (ClassNotFoundException ex) {. util.logging. Logger.getLogger (Zapros_prokat.class.getN...