Proxim RangeLAN2 7920 Manual do Utilizador Página 86

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 103
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 85
71
}
);
/***********************************************************************/
/*This section creates the Buttons which will allow the user
to choose between pre-programmed patterns. */
//PATTERN 1
JButton pattern1 = new JButton("Pattern 1");
pattern1.addActionListener(
new ActionListener() {
public void actionPerformed(ActionEvent ev) {
doPattern1();
}
});
gbcon.gridx = 0;
gbcon.gridy = 1;
gblay.setConstraints(pattern1, gbcon);
s.add(pattern1);
//PATTERN 2
JButton pattern2 = new JButton("Pattern 2");
pattern2.addActionListener(
new ActionListener() {
public void actionPerformed(ActionEvent ev) {
doPattern2();
}
});
gbcon.gridx = 1;
gbcon.gridy = 1;
gblay.setConstraints(pattern2, gbcon);
s.add(pattern2);
autonomous.add(s, BorderLayout.CENTER);
/************************************************************************/
/*
VideoStream vid = new VideoStream("file:SE3015.mpg");
main.add(vid, BorderLayout.SOUTH);
*/
/************************************************************************/
/* Tabs are created to display three windows: Control window, Auto window
and Status window */
Vista de página 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 102 103

Comentários a estes Manuais

Sem comentários