Proxim RangeLAN2 7920 Instrukcja Użytkownika Strona 86

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 103
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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 */
Przeglądanie stron 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 102 103

Komentarze do niniejszej Instrukcji

Brak uwag