SelectionPractice2Controller.java - Anderson Franceschi import javafx.animation.AnimationTimer import javafx.event.ActionEvent import javafx.fxml.FXML

SelectionPractice2Controller.java - Anderson Franceschi...

This preview shows page 1 - 2 out of 4 pages.

/** SelectionPractice2Controller Anderson, Franceschi */ import javafx.animation.AnimationTimer; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.geometry.Insets; import javafx.scene.*; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.control.*; import javafx.scene.layout.*; import javafx.scene.paint.*; public class SelectionPractice2Controller { private final int SIZE = 6; public static boolean [] array; private static int count1 = 0; private static int current1 = -1; private int key; private MultiPath mp; @FXML private BorderPane bp; @FXML private HBox hBox1; @FXML private Label message; @FXML private TextField scoreInput; @FXML private Button go; private int activity; // 0=fill; 1=print; 2=set; 3=count; 4=find private Pane pane; private Canvas canvas; private GraphicsContext gc; private int index; private int value; // ***** 1. student writes this method public void workWithSwitch( int value ) { // // Student code starts here // //1. Test expression in switch statement //2. When 0, 1, 2, 3, or 4 // 2a.
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 4 pages?

  • Fall '16
  • xxxxx
  • private final int SIZE

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes