This project is a Java-based application that provides a user interface for managing and interacting with a database. It includes features such as running SQL queries, displaying query results, and managing database tables. The application uses JavaFX for the user interface.
- Run SQL Queries: Execute SQL queries and display the results in a tabular format.
- Database Management: Create, drop, and manage database tables.
- Theming: Switch between light and dark themes.
- Code Highlighting: Syntax highlighting for SQL code.
- Aggregates: Support for aggregate functions like SUM, AVG, COUNT, MIN, and MAX.
- Pagination: Limit and offset support for query results.
- Order By: Sort query results by specified columns.
src/controller: Contains the main controller classDashboardController.javawhich handles the user interface and functionality.src/utility: Contains utility classes for file operations, theme selection, and other helper functions.src/db: Contains theDBManager.javaclass for handling database operations.src/light_theme.cssandsrc/dark_theme.css: CSS files for the light and dark themes.
- Java Development Kit (JDK) 8 or higher
- IntelliJ IDEA or any other Java IDE
- JavaFX SDK
- Clone the repository:
git clone https://github.com/fili5rovic/Database_Manager_GUI.git
- Open the project in IntelliJ IDEA.
- Ensure that the JavaFX SDK is properly configured in your IDE.
- Run SQL Queries: Enter your SQL queries in the provided text area and click the "Run" button.
- Switch Themes: Use the menu options to switch between light and dark themes.
- Manage Tables: Use the tree view to select and manage database tables.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes and commit them (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.