Skip to content

Add GUI for currency exchange visualization #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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.

1 participant