2-topshiriq: Java dasturlash tilining Swing moduli yordamida murakkab kalkulyator yaratish. Nazariy qism


Download 0.65 Mb.
bet2/2
Sana18.06.2023
Hajmi0.65 Mb.
#1594025
1   2
Bog'liq
Deadline-2 ruziyeva

/**
* @param args the command line arguments
*/
public 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 http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new NewJFrame().setVisible(true);
}
});
}

// Variables declaration - do not modify//GEN-BEGIN:variables


private javax.swing.JButton btnMC;
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton36;
private javax.swing.JButton jButton37;
private javax.swing.JButton jButton38;
private javax.swing.JButton jButton39;
private javax.swing.JButton jButton40;
private javax.swing.JButton jButton41;
private javax.swing.JButton jButton42;
private javax.swing.JButton jButton43;
private javax.swing.JButton jButton44;
private javax.swing.JButton jButton45;
private javax.swing.JButton jButton46;
private javax.swing.JButton jButton47;
private javax.swing.JButton jButton48;
private javax.swing.JButton jButton49;
private javax.swing.JButton jButton60;
private javax.swing.JButton jButton61;
private javax.swing.JButton jButton62;
private javax.swing.JButton jButton63;
private javax.swing.JButton jButton64;
private javax.swing.JButton jButton65;
private javax.swing.JButton jButton66;
private javax.swing.JButton jButton67;
private javax.swing.JButton jButton68;
private javax.swing.JButton jButton69;
private javax.swing.JButton jButton72;
private javax.swing.JButton jButton73;
private javax.swing.JButton jButton74;
private javax.swing.JButton jButton75;
private javax.swing.JButton jButton80;
private javax.swing.JButton jButton82;
private javax.swing.JButton jButton83;
private javax.swing.JButton jButton84;
private javax.swing.JButton jButton85;
private javax.swing.JButton jButton88;
private javax.swing.JButton jButton89;
private javax.swing.JButton jButton90;
private javax.swing.JButton jButton91;
private javax.swing.JTextField jTextField1;
// End of variables declaration//GEN-END:variables
Download 0.65 Mb.

Do'stlaringiz bilan baham:
1   2




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling