justify">}
/ **
* @ 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 (Table1Dob.class.getName ()). Log (java.util.logging. Level.SEVERE, null, ex);
} catch (InstantiationException ex) {. util.logging. Logger.getLogger (Table1Dob.class.getName ()). Log (java.util.logging. Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {. util.logging. Logger.getLogger (Table1Dob.class.getName ()). Log (java.util.logging. Level.SEVERE, null, ex);
} catch (javax.swing. UnsupportedLookAndFeelException ex) {. util.logging. Logger.getLogger (Table1Dob.class.getName ()). Log (java.util.logging. Level.SEVERE, null, ex);
}
/ /
/ * Create and display the form * /. awt. EventQueue.invokeLater (new Runnable () {void run () {Table1Dob (). SetVisible (true);
}
});
}
/ / Variables declaration - do not modifyjavax.swing.JButton jButton1; javax.swing.JButton jButton2; javax.swing.JLabel jLabel1; javax.swing.JLabel jLabel2; javax.swing.JLabel jLabel3; javax.swing.JLabel jLabel4; javax.swing.JLabel jLabel5; javax.swing.JTextField jTextField1; javax.swing.JTextField jTextField2; javax.swing.JTextField jTextField3; javax.swing.JTextField jTextField4;
/ / End of variables declaration
Додаток Г
Вихідний код форми «Видалення марки автомобіля»
import java.sql. Connection; java.sql. DriverManager; java.sql. PreparedStatement; java.sql. ResultSet; java.sql. Statement; java.util. Properties; javax.swing.JOptionPane;
* @ author User
* / class Table1Del extends javax.swing.JFrame {Table1Del () {(); ();
}
@ SuppressWarnings («unchecked»)
/ / void initComponents () {
=new javax.swing.JButton ();=new javax.swing.JLabel ();=new javax.swing.JButton ();=new javax.swing.JComboBox (); p>
(«Видалення»);
jButton1.setText («Видалити дані з таблиці»);
jButton1.addActionListener (new java.awt.event. ActionListener () {void actionPerformed (java.awt.event. ActionEvent evt) {ActionPerformed (evt);
}
});
...