package ...
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import com.borland.jbcl.layout.*;
import javax.swing.border.*;
import javax.swing.event.*;
import java.io.*;
public class Frame1 extends JFrame {
JPanel contentPane;
JMenuBar jMenuBar1 = new JMenuBar();
JMenu jMenuFile = new JMenu();
JMenuItem jMenuFileExit = new JMenuItem();
JMenu jMenuHelp = new JMenu();
JMenuItem jMenuHelpAbout = new JMenuItem();
JToolBar jToolBar = new JToolBar();
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
JButton jButton3 = new JButton();
ImageIcon image1;
ImageIcon image2;
ImageIcon image3;
XYLayout xYLayout1 = new XYLayout();
JLabel jLabel1 = new JLabel();
Border border1;
JCheckBox jCheckBox1 = new JCheckBox();
JCheckBox jCheckBox2 = new JCheckBox();
JCheckBox jCheckBox3 = new JCheckBox();
JCheckBox jCheckBox4 = new JCheckBox();
JCheckBox jCheckBox5 = new JCheckBox();
JButton jButton_start = new JButton();
JButton jButton_Abbrechen = new JButton();
JLabel jLabel2 = new JLabel();
Border border2;
JLabel jLabel3 = new JLabel();
JLabel jLabel4 = new JLabel();
JLabel jLabel5 = new JLabel();
JLabel jLabel6 = new JLabel();
JLabel jLabel7 = new JLabel();
JTextField jTextField1 = new JTextField();
JTextField jTextField2 = new JTextField();
JTextField jTextField3 = new JTextField();
JTextField jTextField4 = new JTextField();
JTextField jTextField5 = new JTextField();
JLabel jLabel8 = new JLabel();
JLabel jLabel9 = new JLabel();
JLabel jLabel10 = new JLabel();
JLabel jLabel11 = new JLabel();
JLabel jLabel12 = new JLabel();
JButton jButton6 = new JButton();
JLabel jLabel13 = new JLabel();
Border border3;
JButton jButton8 = new JButton();
JLabel jLabel14 = new JLabel();
JLabel jLabel15 = new JLabel();
JLabel jLabel16 = new JLabel();
JMenu jMenuEdit = new JMenu();
JMenu jMenuOptions = new JMenu();
JMenuItem jMenuItemNeu = new JMenuItem();
JMenuItem jMenuItemOptionsSave = new JMenuItem();
JMenuItem jMenuItemÖffnen = new JMenuItem();
JMenuItem jMenuItemGrafikSave = new JMenuItem();
JMenuItem jMenuItemFilter = new JMenuItem();
JMenuItem jMenuItemIMPORT = new JMenuItem();
JMenuItem jMenuItemMessreihesave = new JMenuItem();
JMenu jMenuPasswortschutz = new JMenu();
JMenuItem jMenuItemPasswortschutz_Admin = new JMenuItem();
int Kelvin = 273; //gerundet. Kelvinwert
int a, b, c, d, g; //Werte werden zwischengespeichert
int a1, b1, c1, d1, g1; //Ergebnisse werden als neuer Integer-Wert ausgegebnen
//Den Frame konstruieren
public Frame1() {
enableEvents(AWTEvent.WINDOW_EVENT_MASK);
try {
jbInit();
}
catch (Exception e) {
e.printStackTrace();
}
}
//Initialisierung der Komponenten
private void jbInit() throws Exception {
image1 = new ImageIcon(daisy_v_1_0.Frame1.class.getResource("openFile.png"));
image2 = new ImageIcon(daisy_v_1_0.Frame1.class.getResource("closeFile.png"));
image3 = new ImageIcon(daisy_v_1_0.Frame1.class.getResource("help.png"));
contentPane = (JPanel)this.getContentPane();
border1 = BorderFactory.createEtchedBorder(Color.white, new Color(148, 145, 140)); //Rahmen für Überschriften werden erstellt
border2 = BorderFactory.createEtchedBorder(Color.white, new Color(148, 145, 140));
border3 = BorderFactory.createEtchedBorder(Color.white, new Color(148, 145, 140)); //bis an diese Stelle
contentPane.setLayout(xYLayout1);
this.setSize(new Dimension(400, 607));
this.setTitle("Live");
jMenuFile.setText("Datei");
jMenuFileExit.setText("Beenden");
jMenuFileExit.addActionListener(new Frame1_jMenuFileExit_ActionAdapter(this));
jMenuHelp.setText("Hilfe");
jMenuHelpAbout.setText("Info");
jMenuHelpAbout.addActionListener(new Frame1_jMenuHelpAbout_ActionAdapter(this));
jButton1.setIcon(image1);
jButton1.addActionListener(new Frame1_jButton1_actionAdapter(this));
jButton1.setToolTipText("Datei öffnen");
jButton2.setIcon(image2);
jButton2.addActionListener(new Frame1_jButton2_actionAdapter(this));
jButton2.setToolTipText("Datei neu");
jButton3.setIcon(image3);
jButton3.addActionListener(new Frame1_jButton3_actionAdapter(this));
jButton3.setToolTipText("Hilfe");
jLabel1.setFont(new java.awt.Font("Dialog", 1, 14));
jLabel1.setBorder(border1);
jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
jLabel1.setHorizontalTextPosition(SwingConstants.TRAILING);
jLabel1.setText("Auswahl");
jCheckBox1.setText("1");
jCheckBox1.addActionListener(new Frame1_jCheckBox1_actionAdapter(this));
jCheckBox2.setText("2");
jCheckBox3.setText("3");
jCheckBox3.addActionListener(new Frame1_jCheckBox3_actionAdapter(this));
jCheckBox4.setText("4");
jCheckBox5.setText("5");
jButton_start.setToolTipText("Start");
jButton_start.setText("starten");
jButton_start.addActionListener(new Frame1_jButton_start_actionAdapter(this));
jButton_Abbrechen.setToolTipText("Abbruch");
jButton_Abbrechen.setText("Abbrechen");
jLabel2.setFont(new java.awt.Font("Dialog", 1, 14));
jLabel2.setBorder(border2);
jLabel2.setHorizontalAlignment(SwingConstants.CENTER);
jLabel2.setText("werte");
jLabel3.setToolTipText("");