protected void makeWidgets(){
  String locText;
  GridBagLayout gridbag=new GridBagLayout();
  GridBagConstraints c=new GridBagConstraints();
  Insets leftInsets=new Insets(0,10,0,10);
  Insets centerInsets=new Insets(0,0,0,0);
  Insets rightInsets=new Insets(0,0,0,10);
  setLayout(gridbag);
  locText=i18n.get(UTMCoordPanel.class,"border","Zone Number|Hemisphere|Easting|Northing");
  setBorder(new TitledBorder(new EtchedBorder(),locText));
  locText=i18n.get(UTMCoordPanel.class,"utmLabel","UTM: ");
  JLabel utmLabel=new JLabel(locText);
  c.gridx=0;
  c.fill=GridBagConstraints.NONE;
  c.weightx=0f;
  c.insets=leftInsets;
  c.anchor=GridBagConstraints.EAST;
  gridbag.setConstraints(utmLabel,c);
  add(utmLabel);
  c.gridx=GridBagConstraints.RELATIVE;
  zoneNumber=new JTextField(3);
  zoneNumber.setToolTipText(i18n.get(UTMCoordPanel.class,"zone",I18n.TOOLTIP,"Zone Number: 1-60"));
  c.insets=centerInsets;
  gridbag.setConstraints(zoneNumber,c);
  add(zoneNumber);
  zoneLetter=new JTextField(2);
  zoneLetter.setToolTipText(i18n.get(UTMCoordPanel.class,"hemi",I18n.TOOLTIP,"Hemisphere: N or S"));
  gridbag.setConstraints(zoneLetter,c);
  add(zoneLetter);
  easting=new JTextField(8);
  c.fill=GridBagConstraints.HORIZONTAL;
  c.weightx=.5f;
  gridbag.setConstraints(easting,c);
  add(easting);
  northing=new JTextField(8);
  c.insets=rightInsets;
  gridbag.setConstraints(northing,c);
  add(northing);
}

protected void makeWidgets ( ) { String locText ; GridBagLayout gridbag = new GridBagLayout ( ) ; GridBagConstraints c = new GridBagConstraints ( ) ; Insets leftInsets = new Insets ( 0 , 10 , 0 , 10 ) ; Insets centerInsets = new Insets ( 0 , 0 , 0 , 0 ) ; Insets rightInsets = new Insets ( 0 , 0 , 0 , 10 ) ; setLayout ( gridbag ) ; locText = i18n . get ( UTMCoordPanel . class , "border" , "Zone Number|Hemisphere|Easting|Northing" ) ; setBorder ( new TitledBorder ( new EtchedBorder ( ) , locText ) ) ; locText = i18n . get ( UTMCoordPanel . class , "utmLabel" , "UTM: " ) ; JLabel utmLabel = new JLabel ( locText ) ; c . gridx = 0 ; c . fill = GridBagConstraints . NONE ; c . weightx = 0f ; c . insets = leftInsets ; c . anchor = GridBagConstraints . EAST ; gridbag . setConstraints ( utmLabel , c ) ; add ( utmLabel ) ; c . gridx = GridBagConstraints . RELATIVE ; zoneNumber = new JTextField ( 3 ) ; zoneNumber . setToolTipText ( i18n . get ( UTMCoordPanel . class , "zone" , I18n . TOOLTIP , "Zone Number: 1-60" ) ) ; c . insets = centerInsets ; gridbag . setConstraints ( zoneNumber , c ) ; add ( zoneNumber ) ; zoneLetter = new JTextField ( 2 ) ; zoneLetter . setToolTipText ( i18n . get ( UTMCoordPanel . class , "hemi" , I18n . TOOLTIP , "Hemisphere: N or S" ) ) ; gridbag . setConstraints ( zoneLetter , c ) ; add ( zoneLetter ) ; easting = new JTextField ( 8 ) ; c . fill = GridBagConstraints . HORIZONTAL ; c . weightx = .5f ; gridbag . setConstraints ( easting , c ) ; add ( easting ) ; northing = new JTextField ( 8 ) ; c . insets = rightInsets ; gridbag . setConstraints ( northing , c ) ; add ( northing ) ; }
creates and adds the labels and entry fields for latitude and longitude
