public Interaktionsbrett() {

    brett.setLayout(new BorderLayout());
    brett.setDoubleBuffered(true);

    javax.swing.SwingUtilities.invokeLater(new Runnable() {
      // @Override
      public void run() {
        rahmen = new JFrame("Interaktionsbrett");
        rahmen.add(brett);
        rahmen.setBackground(Color.WHITE);
        rahmen.setMinimumSize(DIM);
        rahmen.setPreferredSize(DIM);
        rahmen.setMaximumSize(DIM);

        zoomfaktor.addActionListener(new ActionListener() {

          //@Override
          public void actionPerformed(ActionEvent arg0) {
            double z;
            try {
              z = Double.parseDouble(zoomfaktor.getText());
            } catch (NumberFormatException e) {
              z = 0d;
            }
            if (z > 0 && z < 30) {
              zoom = z;
            } else
              zoomfaktor.setText("" + zoom);
            if (rahmen != null) {
              rahmen.repaint();
            }
            rahmen.requestFocus();
          }
        });
        JPanel unten = new JPanel(new BorderLayout());
        uhranzeige.setFont(new Font(Font.MONOSPACED,
            Font.BOLD,
            12));
        unten.add(uhranzeige, BorderLayout.WEST);

        Dimension zdim = new Dimension(40, 20);
        zoomfaktor.setPreferredSize(zdim);
        JPanel zoomanzeige = new JPanel(
            new GridLayout(1, 2));
        zoomanzeige.add(new JLabel("Zoom:"));
        zoomanzeige.add(zoomfaktor);
        unten.add(zoomanzeige, BorderLayout.EAST);

        unten.add(meldung);
        rahmen.add(unten, BorderLayout.SOUTH);

        rahmen
            .setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Toolkit tk = Toolkit.getDefaultToolkit();
        tk.setDynamicLayout(true);
        rahmen.setVisible(true);
      }
    });
    pause(500);
    new Thread(uhrThread).start();

  }