~ubuntu-branches/ubuntu/jaunty/electric/jaunty

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/user/dialogs/WaveformZoom.java

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2009-01-08 02:05:08 UTC
  • mfrom: (1.1.2 upstream) (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090108020508-0h3li7zt9mu5gf0i
Tags: 8.08-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
import java.awt.Frame;
31
31
 
32
 
 
33
32
/**
34
33
 * Class to handle the dialog for precise control of Waveform window extents.
35
34
 */
47
46
                this.curWindow = curWindow;
48
47
                initComponents();
49
48
        getRootPane().setDefaultButton(ok);
50
 
        verticalLow.setText(Double.toString(lowVert));
 
49
 
 
50
                // make all text fields select-all when entered
 
51
            EDialog.makeTextFieldSelectAllOnTab(verticalLow);
 
52
            EDialog.makeTextFieldSelectAllOnTab(verticalHigh);
 
53
            EDialog.makeTextFieldSelectAllOnTab(horizontalLow);
 
54
            EDialog.makeTextFieldSelectAllOnTab(horizontalHigh);
 
55
 
 
56
            verticalLow.setText(Double.toString(lowVert));
51
57
        verticalHigh.setText(Double.toString(highVert));
52
58
        horizontalLow.setText(Double.toString(lowHoriz));
53
59
        horizontalHigh.setText(Double.toString(highHoriz));