swing/inherewriter/inherewriter.java
@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        label1 = new java.awt.Label();
        jLabel2 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        ddifTextField = new javax.swing.JTextField();
        ddofTextField = new javax.swing.JTextField();
        ddofLabel = new javax.swing.JLabel();
        ddifLabel = new javax.swing.JLabel();
        writeButton = new javax.swing.JButton();

        label1.setText("label1");

        jLabel2.setText("jLabel2");

        jLabel4.setText("jLabel4");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("inherewriter");

        ddifTextField.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        ddifTextField.setText("/home/angle/ref");
        ddifTextField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ddifTextFieldActionPerformed(evt);
            }
        });

        ddofTextField.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        ddofTextField.setText("/home/angle/ddof");

        ddofLabel.setText("device to write");

        ddifLabel.setText("path to iso");

        writeButton.setText("write");
        writeButton.setAlignmentX(0.5F);
        writeButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                writeButtonActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(121, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(writeButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ddofTextField)
                    .addComponent(ddifTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(28, 28, 28)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(ddifLabel)
                    .addComponent(ddofLabel))
                .addGap(32, 32, 32))
        );

        layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {ddifTextField, ddofTextField});

        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(ddifTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ddifLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(ddofTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ddofLabel))
                .addGap(18, 18, 18)
                .addComponent(writeButton)
                .addContainerGap(195, Short.MAX_VALUE))
        );

        layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {ddifTextField, ddofTextField});

        pack();
    }
/**
     * 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.
     */
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.
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")
    private void initComponents() {
        label1 = new java.awt.Label();
        jLabel2 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        ddifTextField = new javax.swing.JTextField();
        ddofTextField = new javax.swing.JTextField();
        ddofLabel = new javax.swing.JLabel();
        ddifLabel = new javax.swing.JLabel();
        writeButton = new javax.swing.JButton();
        label1.setText("label1");
        jLabel2.setText("jLabel2");
        jLabel4.setText("jLabel4");
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("inherewriter");
        ddifTextField.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        ddifTextField.setText("/home/angle/ref");
        ddifTextField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ddifTextFieldActionPerformed(evt);
            }
        });
        ddofTextField.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        ddofTextField.setText("/home/angle/ddof");
        ddofLabel.setText("device to write");
        ddifLabel.setText("path to iso");
        writeButton.setText("write");
        writeButton.setAlignmentX(0.5F);
        writeButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                writeButtonActionPerformed(evt);
            }
        });
        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(121, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(writeButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ddofTextField)
                    .addComponent(ddifTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(28, 28, 28)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(ddifLabel)
                    .addComponent(ddofLabel))
                .addGap(32, 32, 32))
        );
        layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {ddifTextField, ddofTextField});
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(ddifTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ddifLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(ddofTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ddofLabel))
                .addGap(18, 18, 18)
                .addComponent(writeButton)
                .addContainerGap(195, Short.MAX_VALUE))
        );
        layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {ddifTextField, ddofTextField});
        pack();
    }
@ SuppressWarnings ( "unchecked" ) private void initComponents ( ) { label1 = new java . awt . Label ( ) ; jLabel2 = new javax . swing . JLabel ( ) ; jLabel4 = new javax . swing . JLabel ( ) ; ddifTextField = new javax . swing . JTextField ( ) ; ddofTextField = new javax . swing . JTextField ( ) ; ddofLabel = new javax . swing . JLabel ( ) ; ddifLabel = new javax . swing . JLabel ( ) ; writeButton = new javax . swing . JButton ( ) ; label1 . setText ( "label1" ) ; jLabel2 . setText ( "jLabel2" ) ; jLabel4 . setText ( "jLabel4" ) ; setDefaultCloseOperation ( javax . swing . WindowConstants . EXIT_ON_CLOSE ) ; setTitle ( "inherewriter" ) ; ddifTextField . setHorizontalAlignment ( javax . swing . JTextField . CENTER ) ; ddifTextField . setText ( "/home/angle/ref" ) ; ddifTextField . addActionListener ( new java . awt . event . ActionListener ( ) { public void actionPerformed ( java . awt . event . ActionEvent evt ) { ddifTextFieldActionPerformed ( evt ) ; } } ) ; ddofTextField . setHorizontalAlignment ( javax . swing . JTextField . CENTER ) ; ddofTextField . setText ( "/home/angle/ddof" ) ; ddofLabel . setText ( "device to write" ) ; ddifLabel . setText ( "path to iso" ) ; writeButton . setText ( "write" ) ; writeButton . setAlignmentX ( 0.5F ) ; writeButton . addActionListener ( new java . awt . event . ActionListener ( ) { public void actionPerformed ( java . awt . event . ActionEvent evt ) { writeButtonActionPerformed ( evt ) ; } } ) ; javax . swing . GroupLayout layout = new javax . swing . GroupLayout ( getContentPane ( ) ) ; getContentPane ( ) . setLayout ( layout ) ; layout . setHorizontalGroup ( layout . createParallelGroup ( javax . swing . GroupLayout . Alignment . LEADING ) . addGroup ( javax . swing . GroupLayout . Alignment . TRAILING , layout . createSequentialGroup ( ) . addContainerGap ( 121 , Short . MAX_VALUE ) . addGroup ( layout . createParallelGroup ( javax . swing . GroupLayout . Alignment . CENTER ) . addComponent ( writeButton , javax . swing . GroupLayout . PREFERRED_SIZE , 80 , javax . swing . GroupLayout . PREFERRED_SIZE ) . addComponent ( ddofTextField ) . addComponent ( ddifTextField , javax . swing . GroupLayout . PREFERRED_SIZE , 69 , javax . swing . GroupLayout . PREFERRED_SIZE ) ) . addGap ( 28 , 28 , 28 ) . addGroup ( layout . createParallelGroup ( javax . swing . GroupLayout . Alignment . LEADING ) . addComponent ( ddifLabel ) . addComponent ( ddofLabel ) ) . addGap ( 32 , 32 , 32 ) ) ) ; layout . linkSize ( javax . swing . SwingConstants . HORIZONTAL , new java . awt . Component [ ] { ddifTextField , ddofTextField } ) ; layout . setVerticalGroup ( layout . createParallelGroup ( javax . swing . GroupLayout . Alignment . LEADING ) . addGroup ( layout . createSequentialGroup ( ) . addContainerGap ( ) . addGroup ( layout . createParallelGroup ( javax . swing . GroupLayout . Alignment . BASELINE ) . addComponent ( ddifTextField , javax . swing . GroupLayout . PREFERRED_SIZE , javax . swing . GroupLayout . DEFAULT_SIZE , javax . swing . GroupLayout . PREFERRED_SIZE ) . addComponent ( ddifLabel ) ) . addPreferredGap ( javax . swing . LayoutStyle . ComponentPlacement . UNRELATED ) . addGroup ( layout . createParallelGroup ( javax . swing . GroupLayout . Alignment . BASELINE ) . addComponent ( ddofTextField , javax . swing . GroupLayout . PREFERRED_SIZE , javax . swing . GroupLayout . DEFAULT_SIZE , javax . swing . GroupLayout . PREFERRED_SIZE ) . addComponent ( ddofLabel ) ) . addGap ( 18 , 18 , 18 ) . addComponent ( writeButton ) . addContainerGap ( 195 , Short . MAX_VALUE ) ) ) ; layout . linkSize ( javax . swing . SwingConstants . VERTICAL , new java . awt . Component [ ] { ddifTextField , ddofTextField } ) ; pack ( ) ; }
This method is called from within the constructor to initialize the form.
This method is called from within the constructor to initialize the form .
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents