/*
* 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 wuerfel.view;
/**
*
* @author leo
*/
public class WuerfelView extends javax.swing.JFrame {
/**
* @return the btnStart
*/
public javax.swing.JButton getBtnStart() {
return btnStart;
}
/**
* @return the btnStop
*/
public javax.swing.JButton getBtnStop() {
return btnStop;
}
/**
* @return the lblWert
*/
public javax.swing.JLabel getLblWert() {
return lblWert;
}
/**
* Creates new form WuerfelView
*/
public WuerfelView() {
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")
// //GEN-BEGIN:initComponents
private void initComponents() {
pnlTop = new javax.swing.JPanel();
btnStart = new javax.swing.JButton();
btnStop = new javax.swing.JButton();
pnlMain = new javax.swing.JPanel();
lblWert = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
btnStart.setText("Start");
pnlTop.add(btnStart);
btnStop.setText("Stop");
pnlTop.add(btnStop);
getContentPane().add(pnlTop, java.awt.BorderLayout.PAGE_START);
pnlMain.setLayout(new java.awt.BorderLayout());
lblWert.setFont(new java.awt.Font("Tahoma", 0, 48)); // NOI18N
lblWert.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
lblWert.setText("1");
pnlMain.add(lblWert, java.awt.BorderLayout.CENTER);
getContentPane().add(pnlMain, java.awt.BorderLayout.CENTER);
setSize(new java.awt.Dimension(816, 539));
setLocationRelativeTo(null);
}// //GEN-END:initComponents
/**
* @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(WuerfelView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(WuerfelView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(WuerfelView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(WuerfelView.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 WuerfelView().setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton btnStart;
private javax.swing.JButton btnStop;
private javax.swing.JLabel lblWert;
private javax.swing.JPanel pnlMain;
private javax.swing.JPanel pnlTop;
// End of variables declaration//GEN-END:variables
}