Skip to content

Conversation

@preraks116
Copy link
Owner

@preraks116 preraks116 commented Oct 16, 2024

Add a GUI for the application to show a visual representation of currency exchanges.

  • Dependencies

    • Add dependencies for javafx-graphics and javafx-base in pom.xml.
  • GUI Application

    • Create GuiApp class in com.tbms.gui package.
    • Extend Application class from JavaFX.
    • Override start method to set up the primary stage and scene.
    • Add createMainLayout method to create the main layout.
  • Currency Graph

    • Create CurrencyGraph class in com.tbms.gui package.
    • Add generateGraph method to generate a visual representation of the currency exchange graph using JavaFX components like Pane, Line, and Circle.
  • Main Class

    • Add a condition in Main.java to check for a --gui argument to launch the GUI application.
    • Import the GuiApp class.
  • README

    • Add instructions to run the GUI application using the --gui argument.

For more details, open the Copilot Workspace session.

Add a GUI for the application to show a visual representation of currency exchanges.

* **Dependencies**
  - Add dependencies for `javafx-graphics` and `javafx-base` in `pom.xml`.

* **GUI Application**
  - Create `GuiApp` class in `com.tbms.gui` package.
  - Extend `Application` class from JavaFX.
  - Override `start` method to set up the primary stage and scene.
  - Add `createMainLayout` method to create the main layout.

* **Currency Graph**
  - Create `CurrencyGraph` class in `com.tbms.gui` package.
  - Add `generateGraph` method to generate a visual representation of the currency exchange graph using JavaFX components like `Pane`, `Line`, and `Circle`.

* **Main Class**
  - Add a condition in `Main.java` to check for a `--gui` argument to launch the GUI application.
  - Import the `GuiApp` class.

* **README**
  - Add instructions to run the GUI application using the `--gui` argument.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/preraks116/java-tbms?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants