summaryrefslogtreecommitdiffstats
path: root/src/IDE
diff options
context:
space:
mode:
authorAidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com>2021-12-09 02:30:57 +0000
committerAidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com>2021-12-09 02:30:57 +0000
commit13c44054b21d26782e98a52e9a114250ab8307ff (patch)
tree8426476b4daeee01b85cc3f414d04335dbf0a87d /src/IDE
parent560a48eebf4f74ae1a21d5cfbb3b55477d7c1356 (diff)
downloadesotericFORTRAN-13c44054b21d26782e98a52e9a114250ab8307ff.tar.gz
esotericFORTRAN-13c44054b21d26782e98a52e9a114250ab8307ff.zip
Added example program of each main feature
Diffstat (limited to 'src/IDE')
-rw-r--r--src/IDE/IDE/HelloApplication.java25
-rw-r--r--src/IDE/IDE/HelloController.java14
-rw-r--r--src/IDE/IDE/hello-view.fxml16
-rw-r--r--src/IDE/Makefile5
-rw-r--r--src/IDE/readme.md19
5 files changed, 0 insertions, 79 deletions
diff --git a/src/IDE/IDE/HelloApplication.java b/src/IDE/IDE/HelloApplication.java
deleted file mode 100644
index aaa728f..0000000
--- a/src/IDE/IDE/HelloApplication.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package IDE;
-
-import javafx.application.Application;
-import javafx.fxml.FXMLLoader;
-import javafx.scene.Scene;
-import javafx.stage.Stage;
-import java.io.File;
-import javafx.scene.Parent;
-
-import java.io.IOException;
-
-public class HelloApplication extends Application {
- @Override
- public void start(Stage stage) throws IOException {
- Parent root = FXMLLoader.load(getClass().getResource("hello-view.fxml"));
- Scene scene = new Scene(root, 320, 240);
- stage.setTitle("Hello!");
- stage.setScene(scene);
- stage.show();
- }
-
- public static void main(String[] args) {
- launch();
- }
-} \ No newline at end of file
diff --git a/src/IDE/IDE/HelloController.java b/src/IDE/IDE/HelloController.java
deleted file mode 100644
index 877e5ba..0000000
--- a/src/IDE/IDE/HelloController.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package IDE;
-
-import javafx.fxml.FXML;
-import javafx.scene.control.Label;
-
-public class HelloController {
- @FXML
- private Label welcomeText;
-
- @FXML
- protected void onHelloButtonClick() {
- welcomeText.setText("Welcome to the FORTRAN compiler application!");
- }
-} \ No newline at end of file
diff --git a/src/IDE/IDE/hello-view.fxml b/src/IDE/IDE/hello-view.fxml
deleted file mode 100644
index c31d9e2..0000000
--- a/src/IDE/IDE/hello-view.fxml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<?import javafx.geometry.Insets?>
-<?import javafx.scene.control.Label?>
-<?import javafx.scene.layout.VBox?>
-
-<?import javafx.scene.control.Button?>
-<VBox alignment="CENTER" spacing="20.0" xmlns:fx="http://javafx.com/fxml"
- fx:controller="IDE.HelloController">
- <padding>
- <Insets bottom="20.0" left="20.0" right="20.0" top="20.0"/>
- </padding>
-
- <Label fx:id="welcomeText"/>
- <Button text="Hello!" onAction="#onHelloButtonClick"/>
-</VBox>
diff --git a/src/IDE/Makefile b/src/IDE/Makefile
deleted file mode 100644
index 127db02..0000000
--- a/src/IDE/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-all:
- javac --module-path ../../../javafx-sdk-17.0.1/lib/ --add-modules javafx.controls,javafx.fxml ./IDE/*.java
-
-clean:
- rm -vf IDE/*.class
diff --git a/src/IDE/readme.md b/src/IDE/readme.md
deleted file mode 100644
index 0dc9faa..0000000
--- a/src/IDE/readme.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# esotericFORTRAN IDE
-
-## Setting Up
-
-Install FXML from [here](https://gluonhq.com/products/javafx/) and extract it in the directory behind `EsotericProject`
-
-## Running
-
-To compile, simply run `make`. Then to run:
-
-`java --module-path ..\..\..\javafx-sdk-17.0.1\lib\ --add-modules javafx.controls,javafx.fxml IDE.HelloApplication`
-
-## Editors?
-
-If you got intellisense and stuff to work in vscodium, well done, coz I couldn't do that :3
-
-### IntelliJ
-
-I hate IntelliJ but its the only way I could get a working intellisense. Right click on this folder and select 'Open Folder as an IntelliJ IDEA Community Edition Project', then follow [this](https://openjfx.io/openjfx-docs/#install-javafx) guide (select 'JavaFX and IntelliJ' in the website sidebar). \ No newline at end of file