Airton 2


SUBMITTED BY: Airpires

DATE: Feb. 23, 2017, 4:02 p.m.

FORMAT: Text only

SIZE: 2.8 kB

HITS: 6911

  1. public static void main(String args[]) {
  2. /* Set the Nimbus look and feel */
  3. //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
  4. /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
  5. * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
  6. */
  7. try {
  8. for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
  9. if ("Nimbus".equals(info.getName())) {
  10. javax.swing.UIManager.setLookAndFeel(info.getClassName());
  11. break;
  12. }
  13. }
  14. } catch (ClassNotFoundException ex) {
  15. java.util.logging.Logger.getLogger(Calculo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  16. } catch (InstantiationException ex) {
  17. java.util.logging.Logger.getLogger(Calculo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  18. } catch (IllegalAccessException ex) {
  19. java.util.logging.Logger.getLogger(Calculo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  20. } catch (javax.swing.UnsupportedLookAndFeelException ex) {
  21. java.util.logging.Logger.getLogger(Calculo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  22. }
  23. //</editor-fold>
  24. /* Create and display the form */
  25. java.awt.EventQueue.invokeLater(new Runnable() {
  26. public void run() {
  27. new Calculo().setVisible(true);
  28. }
  29. });
  30. }
  31. // Variables declaration - do not modify
  32. private javax.swing.ButtonGroup buttonGroup1;
  33. private javax.swing.JButton jButton1;
  34. private javax.swing.JLabel jLabel1;
  35. private javax.swing.JLabel jLabel10;
  36. private javax.swing.JLabel jLabel11;
  37. private javax.swing.JLabel jLabel2;
  38. private javax.swing.JLabel jLabel3;
  39. private javax.swing.JLabel jLabel4;
  40. private javax.swing.JLabel jLabel5;
  41. private javax.swing.JLabel jLabel6;
  42. private javax.swing.JLabel jLabel7;
  43. private javax.swing.JLabel jLabel8;
  44. private javax.swing.JLabel jLabel9;
  45. private javax.swing.JPanel jPanel1;
  46. private javax.swing.JPanel jPanel2;
  47. private javax.swing.JRadioButton jRadioButton1;
  48. private javax.swing.JRadioButton jRadioButton2;
  49. private javax.swing.JRadioButton jRadioButton3;
  50. private javax.swing.JTextField jTextField1;
  51. private javax.swing.JTextField jTextField2;
  52. private javax.swing.JTextField jTextField3;
  53. private javax.swing.JTextField jTextField4;
  54. // End of variables declaration
  55. }

comments powered by Disqus