Why is there a word null to the output?
<p>When I click the compute button of my application, it displays the output in the JTextField. But theres always the string "null" prepended and I can't explain to myself why this happens.</p>

<p>Here is the relevant piece of code:</p>

<pre><code>total1.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
        String timeIn = tIn1.getText();
        String timeInArr[] = strtimein.split(":");
        double dblTimeInHr = Double.parseDouble(timeInArr[0]);
        double dblTimeInMin = Double.parseDouble(timeInArr[1]);
        double dblTotalTimeIn = dblTimeInHr + (dblTimeInMin/60);

        String timeOut = tOut1.getText();
        String timeOutArr[] = strtimeout.split(":");
        double dblTimeOutHr = Double.parseDouble(timeOutArr[0]);
        double dblTimeOutMin = Double.parseDouble(timeOutArr[1]);
        double dblTotalTimeOut = dblTimeOutHr + (dblTimeOutMin/60);

        totalHours = totalHours + (dblTotalTimeOut - dblTotalTimeIn);

        tal1.setText(totalHours);
     }
});
</code></pre>

<p>And here is a screen of my GUI:
<img src="http://i48.tinypic.com/2qtybo2.png" alt="timecard"></p>

<p>Why is there a null? Please help</p>
