An JavaFX UI design for simple desktop application
Advanced JavaFX 21 dashboard for Red Team / Blue Team / DevSecOps.
- Java 17 or later (Java 21 recommended)
- Maven 3.8+
mvn javafx:runOr build a JAR:
mvn package
java --module-path /path/to/javafx-sdk/lib --add-modules javafx.controls,javafx.fxml -jar target/cyberdash-1.0.0.jarsrc/main/
├── java/com/cyberdash/
│ ├── MainApp.java # Application entry point
│ ├── controllers/
│ │ ├── MainLayoutController.java # Root layout + navigation router
│ │ ├── SidebarController.java # Sidebar nav + collapse animation
│ │ ├── NavbarController.java # Top bar: search, toggles, breadcrumb
│ │ ├── DashboardController.java # Charts, event log, tables, sliders
│ │ └── PlaceholderController.java # Stub for unimplemented pages
│ ├── models/
│ │ ├── EndpointModel.java # Endpoint table data model
│ │ └── EventModel.java # Live event stream model
│ └── module-info.java
└── resources/com/cyberdash/
├── fxml/
│ ├── MainLayout.fxml # Root: sidebar + content
│ ├── Sidebar.fxml # Navigation sidebar
│ ├── Navbar.fxml # Top navbar
│ ├── Dashboard.fxml # Main dashboard view
│ └── PlaceholderPage.fxml # Stub page
└── css/
├── global.css # Base vars, scroll, combos, tooltips
├── sidebar.css # Sidebar, nav items, brand, footer
├── navbar.css # Navbar, search, breadcrumb, profile
├── dashboard.css # Panels, charts, tables, stat cards
└── controls.css # Slider toggle, range sliders
- Sidebar — collapsible with animation, 14 nav items grouped by category, active state indicator, badge counts
- Navbar — breadcrumb trail, global search (Cmd+K style), slider toggles for Live Feed / Auto Scan, notification + terminal + fullscreen buttons, profile menu
- Stat Cards — 4 animated KPI cards with progress bars and delta indicators
- Line Chart — real-time network traffic (inbound/outbound/blocked), live update every 3 seconds
- Pie Chart — threat category breakdown
- Bar Chart — vulnerability severity over 8 weeks (Critical / High / Medium stacked)
- Live Event Stream — auto-appending log with severity badges, filter chips, toggle to pause
- Security Controls Panel — 6 on/off slider toggles (Firewall, IDS, VPN, Secrets, Honeypot, DLP) + 2 range sliders (Scan Intensity, Alert Threshold)
- Endpoint Table — colour-coded Status and Risk columns, sortable
- Resizable Panels — all chart areas use SplitPane with drag dividers
- Scrollable Dashboard — full ScrollPane wrapper, custom styled scrollbar
- Icons — Material Icons font (Google Material Symbols) used throughout
| Token | Value |
|---|---|
| bg-primary | #0d0f14 |
| bg-secondary | #131720 |
| bg-card | #161c2d |
| accent-blue | #2563eb |
| accent-cyan | #0ea5e9 |
| text-primary | #f0f4ff |
| text-secondary | #8899bb |
| danger | #ef4444 |
| warning | #f59e0b |
| success | #22c55e |
- Author: MatrixTM26
- License: AGPL-V3
Copyright ©2023-2026 MatrixTM26 · All Rights Reserved
