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(DMSCoordPanel.class,"border","Degrees|Minutes|Seconds");
  setBorder(new TitledBorder(new EtchedBorder(),locText));
  locText=i18n.get(DMSCoordPanel.class,"latlabel","Latitude DMS: ");
  JLabel latlabel=new JLabel(locText);
  c.gridx=0;
  c.fill=GridBagConstraints.NONE;
  c.weightx=0f;
  c.insets=leftInsets;
  c.anchor=GridBagConstraints.EAST;
  gridbag.setConstraints(latlabel,c);
  add(latlabel);
  c.gridx=GridBagConstraints.RELATIVE;
  degLat=new JTextField(4);
  c.fill=GridBagConstraints.HORIZONTAL;
  c.weightx=.33f;
  c.insets=centerInsets;
  gridbag.setConstraints(degLat,c);
  add(degLat);
  minLat=new JTextField(4);
  gridbag.setConstraints(minLat,c);
  add(minLat);
  secLat=new JTextField(4);
  c.insets=rightInsets;
  gridbag.setConstraints(secLat,c);
  add(secLat);
  locText=i18n.get(DMSCoordPanel.class,"lonlabel","Longitude DMS: ");
  JLabel lonlabel=new JLabel(locText);
  c.gridx=0;
  c.gridy=1;
  c.fill=GridBagConstraints.NONE;
  c.weightx=0f;
  c.insets=leftInsets;
  c.anchor=GridBagConstraints.EAST;
  gridbag.setConstraints(lonlabel,c);
  add(lonlabel);
  c.gridx=GridBagConstraints.RELATIVE;
  degLon=new JTextField(4);
  c.fill=GridBagConstraints.HORIZONTAL;
  c.weightx=.33f;
  c.insets=centerInsets;
  gridbag.setConstraints(degLon,c);
  add(degLon);
  minLon=new JTextField(4);
  gridbag.setConstraints(minLon,c);
  add(minLon);
  secLon=new JTextField(4);
  c.insets=rightInsets;
  gridbag.setConstraints(secLon,c);
  add(secLon);
}

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 ( DMSCoordPanel . class , "border" , "Degrees|Minutes|Seconds" ) ; setBorder ( new TitledBorder ( new EtchedBorder ( ) , locText ) ) ; locText = i18n . get ( DMSCoordPanel . class , "latlabel" , "Latitude DMS: " ) ; JLabel latlabel = new JLabel ( locText ) ; c . gridx = 0 ; c . fill = GridBagConstraints . NONE ; c . weightx = 0f ; c . insets = leftInsets ; c . anchor = GridBagConstraints . EAST ; gridbag . setConstraints ( latlabel , c ) ; add ( latlabel ) ; c . gridx = GridBagConstraints . RELATIVE ; degLat = new JTextField ( 4 ) ; c . fill = GridBagConstraints . HORIZONTAL ; c . weightx = .33f ; c . insets = centerInsets ; gridbag . setConstraints ( degLat , c ) ; add ( degLat ) ; minLat = new JTextField ( 4 ) ; gridbag . setConstraints ( minLat , c ) ; add ( minLat ) ; secLat = new JTextField ( 4 ) ; c . insets = rightInsets ; gridbag . setConstraints ( secLat , c ) ; add ( secLat ) ; locText = i18n . get ( DMSCoordPanel . class , "lonlabel" , "Longitude DMS: " ) ; JLabel lonlabel = new JLabel ( locText ) ; c . gridx = 0 ; c . gridy = 1 ; c . fill = GridBagConstraints . NONE ; c . weightx = 0f ; c . insets = leftInsets ; c . anchor = GridBagConstraints . EAST ; gridbag . setConstraints ( lonlabel , c ) ; add ( lonlabel ) ; c . gridx = GridBagConstraints . RELATIVE ; degLon = new JTextField ( 4 ) ; c . fill = GridBagConstraints . HORIZONTAL ; c . weightx = .33f ; c . insets = centerInsets ; gridbag . setConstraints ( degLon , c ) ; add ( degLon ) ; minLon = new JTextField ( 4 ) ; gridbag . setConstraints ( minLon , c ) ; add ( minLon ) ; secLon = new JTextField ( 4 ) ; c . insets = rightInsets ; gridbag . setConstraints ( secLon , c ) ; add ( secLon ) ; }
creates and adds the labels and entry fields for latitude and longitude
