protected void makeWidgets(){
  String locText;
  GridBagLayout gridbag=new GridBagLayout();
  GridBagConstraints c=new GridBagConstraints();
  Insets leftInsets=new Insets(0,10,0,10);
  Insets rightInsets=new Insets(0,0,0,10);
  setLayout(gridbag);
  locText=i18n.get(MGRSCoordPanel.class,"border","MGRS Coordinate");
  setBorder(new TitledBorder(new EtchedBorder(),locText));
  locText=i18n.get(MGRSCoordPanel.class,"mgrsLabel","MGRS: ");
  JLabel mgrsLabel=new JLabel(locText);
  c.gridx=0;
  c.fill=GridBagConstraints.NONE;
  c.weightx=0f;
  c.insets=leftInsets;
  gridbag.setConstraints(mgrsLabel,c);
  add(mgrsLabel);
  mgrs=new JTextField(20);
  c.gridx=1;
  c.fill=GridBagConstraints.HORIZONTAL;
  c.weightx=1.0f;
  c.insets=rightInsets;
  gridbag.setConstraints(mgrs,c);
  add(mgrs);
}

protected void makeWidgets ( ) { String locText ; GridBagLayout gridbag = new GridBagLayout ( ) ; GridBagConstraints c = new GridBagConstraints ( ) ; Insets leftInsets = new Insets ( 0 , 10 , 0 , 10 ) ; Insets rightInsets = new Insets ( 0 , 0 , 0 , 10 ) ; setLayout ( gridbag ) ; locText = i18n . get ( MGRSCoordPanel . class , "border" , "MGRS Coordinate" ) ; setBorder ( new TitledBorder ( new EtchedBorder ( ) , locText ) ) ; locText = i18n . get ( MGRSCoordPanel . class , "mgrsLabel" , "MGRS: " ) ; JLabel mgrsLabel = new JLabel ( locText ) ; c . gridx = 0 ; c . fill = GridBagConstraints . NONE ; c . weightx = 0f ; c . insets = leftInsets ; gridbag . setConstraints ( mgrsLabel , c ) ; add ( mgrsLabel ) ; mgrs = new JTextField ( 20 ) ; c . gridx = 1 ; c . fill = GridBagConstraints . HORIZONTAL ; c . weightx = 1.0f ; c . insets = rightInsets ; gridbag . setConstraints ( mgrs , c ) ; add ( mgrs ) ; }
creates and adds the labels and entry fields for latitude and longitude
