Skip to content
Snippets Groups Projects
Commit ab7412bb authored by Jonas Elvedal Hole's avatar Jonas Elvedal Hole :crab:
Browse files

rename to CalcController

parent e70e628b
Branches
No related tags found
No related merge requests found
......@@ -10,11 +10,11 @@ import javafx.scene.control.Label;
import javafx.scene.control.Labeled;
import javafx.scene.control.ListView;
public class AppController {
public class CalcController {
private Calc calc;
public AppController() {
public CalcController() {
calc = new Calc(0.0, 0.0, 0.0);
}
......
......@@ -8,7 +8,7 @@
<?import javafx.scene.layout.RowConstraints?>
<GridPane alignment="CENTER" hgap="10.0" vgap="10.0" xmlns="http://javafx.com/javafx/20.0.1"
xmlns:fx="http://javafx.com/fxml/1" fx:controller="app.AppController">
xmlns:fx="http://javafx.com/fxml/1" fx:controller="app.CalcController">
<ListView fx:id="operandsView" prefHeight="80.0" GridPane.columnIndex="0" GridPane.columnSpan="4"
GridPane.rowIndex="0" />
......
......@@ -24,7 +24,7 @@ import org.testfx.matcher.control.LabeledMatchers;
*/
public class AppTest extends ApplicationTest {
private AppController controller;
private CalcController controller;
private Parent root;
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment