Beispiel #1
0
 public void setLinkTelAddress(Vector a, Vector t, JCheckBox cb) {
   if (a != null && a.size() > 0) {
     addressView.set((Address) a.elementAt(0));
   }
   addressView.setEditable(false);
   addressView.getArchive().setEnabled(false);
   teleView.setLien(t);
   teleView.setEditable(false);
   gb.add(cb, 0, 1, 1, 1, GridBagHelper.WEST);
   cbTelAddress = cb;
   linkTelAddress = true;
   revalidate();
 }
Beispiel #2
0
 public void setLinkTelAddress(boolean b) {
   addressView.setEditable(!b);
   addressView.getArchive().setEnabled(!b);
   teleView.setEditable(!b);
   linkTelAddress = b;
 }