import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
/**
*
* Beschreibung
*
* @version 1.0 vom 20.06.2010
* @author
*/
public class Juli2010 extends JFrame {
// Anfang Attribute
JFrame jFrame1 = new JFrame();
JPanel jPanel1 = new JPanel(null);
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
JButton jButton3 = new JButton();
JButton jButton4 = new JButton();
JButton jButton5 = new JButton();
JButton jButton6 = new JButton();
JButton jButton7 = new JButton();
JButton jButton8 = new JButton();
JButton jButton9 = new JButton();
JButton jButton10 = new JButton();
JButton jButton11 = new JButton();
JButton jButton12 = new JButton();
JButton jButton13 = new JButton();
JButton jButton14 = new JButton();
JButton jButton15 = new JButton();
JButton jButton16 = new JButton();
JButton jButton17 = new JButton();
JButton jButton18 = new JButton();
JButton jButton19 = new JButton();
JButton jButton20 = new JButton();
JButton jButton21 = new JButton();
JButton jButton22 = new JButton();
JButton jButton23 = new JButton();
JButton jButton24 = new JButton();
JButton jButton25 = new JButton();
JButton jButton26 = new JButton();
JButton jButton27 = new JButton();
JButton jButton28 = new JButton();
JButton jButton29 = new JButton();
JButton jButton30 = new JButton();
JButton jButton31 = new JButton();
JButton jButton32 = new JButton();
JButton jButton33 = new JButton();
JButton jButton34 = new JButton();
JLabel jLabel1 = new JLabel();
JLabel jLabel2 = new JLabel();
JLabel jLabel3 = new JLabel();
JLabel jLabel4 = new JLabel();
JLabel jLabel5 = new JLabel();
JLabel jLabel6 = new JLabel();
JLabel jLabel7 = new JLabel();
// Ende Attribute
public Juli2010(String title) {
// Frame-Initialisierung
super(title);
jFrame1.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
int frameWidth = 550;
int frameHeight = 380;
jFrame1.setSize(frameWidth, frameHeight);
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
int x = (d.width - getSize().width) / 2;
int y = (d.height - getSize().height) / 2;
jFrame1.setLocation(x, y);
jFrame1.setLayout(null);
// Anfang Komponenten
jFrame1.add(jPanel1);
jPanel1.setBounds(32, 8, 481, 321);
jFrame1.add(jPanel1);
jButton1.setBounds(216, 112, 59, 33);
jButton1.setText("1");
jPanel1.add(jButton1);
jButton2.setBounds(280, 112, 57, 33);
jButton2.setText("2");
jPanel1.add(jButton2);
jButton3.setBounds(344, 112, 57, 33);
jButton3.setText("3");
jPanel1.add(jButton3);
jButton4.setBounds(408, 112, 57, 33);
jButton4.setText("4");
jPanel1.add(jButton4);
jButton5.setBounds(24, 152, 57, 33);
jButton5.setText("5");
jPanel1.add(jButton5);
jButton6.setBounds(88, 152, 57, 33);
jButton6.setText("6");
jPanel1.add(jButton6);
jButton7.setBounds(152, 152, 57, 33);
jButton7.setText("7");
jPanel1.add(jButton7);
jButton8.setBounds(216, 152, 57, 33);
jButton8.setText("8");
jPanel1.add(jButton8);
jButton9.setBounds(280, 152, 57, 33);
jButton9.setText("9");
jPanel1.add(jButton9);
jButton10.setBounds(344, 152, 57, 33);
jButton10.setText("10");
jPanel1.add(jButton10);
jButton11.setBounds(408, 152, 57, 33);
jButton11.setText("11");
jPanel1.add(jButton11);
jButton12.setBounds(24, 192, 57, 33);
jButton12.setText("12");
jPanel1.add(jButton12);
jButton13.setBounds(88, 192, 57, 33);
jButton13.setText("13");
jPanel1.add(jButton13);
jButton14.setBounds(152, 192, 57, 33);
jButton14.setText("14");
jPanel1.add(jButton14);
jButton15.setBounds(216, 192, 57, 33);
jButton15.setText("15");
jPanel1.add(jButton15);
jButton16.setBounds(280, 192, 57, 33);
jButton16.setText("16");
jPanel1.add(jButton16);
jButton17.setBounds(344, 192, 57, 33);
jButton17.setText("17");
jPanel1.add(jButton17);
jButton18.setBounds(408, 192, 57, 33);
jButton18.setText("18");
jPanel1.add(jButton18);
jButton19.setBounds(24, 232, 57, 33);
jButton19.setText("19");
jPanel1.add(jButton19);
jButton20.setBounds(88, 232, 57, 33);
jButton20.setText("20");
jPanel1.add(jButton20);
jButton21.setBounds(152, 232, 57, 33);
jButton21.setText("21");
jPanel1.add(jButton21);
jButton22.setBounds(216, 232, 57, 33);
jButton22.setText("22");
jPanel1.add(jButton22);
jButton23.setBounds(280, 232, 57, 33);
jButton23.setText("23");
jPanel1.add(jButton23);
jButton24.setBounds(344, 232, 57, 33);
jButton24.setText("24");
jPanel1.add(jButton24);
jButton25.setBounds(408, 232, 57, 33);
jButton25.setText("25");
jPanel1.add(jButton25);
jButton26.setBounds(24, 272, 59, 33);
jButton26.setText("26");
jPanel1.add(jButton26);
jButton27.setBounds(88, 272, 57, 33);
jButton27.setText("27");
jPanel1.add(jButton27);
jButton28.setBounds(152, 272, 57, 33);
jButton28.setText("28");
jPanel1.add(jButton28);
jButton29.setBounds(216, 272, 57, 33);
jButton29.setText("29");
jPanel1.add(jButton29);
jButton30.setBounds(280, 272, 57, 33);
jButton30.setText("30");
jPanel1.add(jButton30);
jButton31.setBounds(344, 272, 57, 33);
jButton31.setText("31");
jPanel1.add(jButton31);
jButton32.setBounds(169, 33, 152, 32);
jButton32.setText("Juli 2010");
jButton32.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
jButton32_ActionPerformed(evt);
}
});
jPanel1.add(jButton32);
jButton33.setBounds(328, 33, 57, 32);
jButton33.setText(">>");
jButton33.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
jButton33_ActionPerformed(evt);
}
});
jPanel1.add(jButton33);
jButton34.setBounds(105, 33, 57, 32);
jButton34.setText("<<");
jButton34.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
jButton34_ActionPerformed(evt);
}
});
jPanel1.add(jButton34);
jLabel1.setBounds(224, 88, 21, 16);
jLabel1.setText("Do");
jLabel1.setFont(new Font("MS Sans Serif", Font.BOLD, 13));
jPanel1.add(jLabel1);
jLabel2.setBounds(288, 88, 15, 16);
jLabel2.setText("Fr");
jLabel2.setFont(new Font("MS Sans Serif", Font.BOLD, 13));
jPanel1.add(jLabel2);
jLabel3.setBounds(352, 88, 20, 16);
jLabel3.setText("Sa");
jLabel3.setFont(new Font("MS Sans Serif", Font.BOLD, 13));
jPanel1.add(jLabel3);
jLabel4.setBounds(416, 88, 20, 16);
jLabel4.setText("So");
jLabel4.setFont(new Font("MS Sans Serif", Font.BOLD, 13));
jPanel1.add(jLabel4);
jLabel5.setBounds(160, 88, 17, 16);
jLabel5.setText("Mi");
jLabel5.setFont(new Font("MS Sans Serif", Font.BOLD, 13));
jPanel1.add(jLabel5);
jLabel6.setBounds(96, 88, 16, 16);
jLabel6.setText("Di");
jLabel6.setFont(new Font("MS Sans Serif", Font.BOLD, 13));
jPanel1.add(jLabel6);
jLabel7.setBounds(32, 88, 22, 16);
jLabel7.setText("Mo");
jLabel7.setFont(new Font("MS Sans Serif", Font.BOLD, 13));
jPanel1.add(jLabel7);
// Ende Komponenten
jFrame1.setResizable(true);
jFrame1.setVisible(true);
}
// Anfang Methoden
public void jButton32_ActionPerformed(ActionEvent evt) {
// TODO hier Quelltext einfügen
}
public void jButton33_ActionPerformed(ActionEvent evt) {
// TODO hier Quelltext einfügen
}
public void jButton34_ActionPerformed(ActionEvent evt) {
// TODO hier Quelltext einfügen
}
// Ende Methoden
public static void main(String[] args) {
new Juli2010("Juli2010");
}
}