CambodiaDJ-Raven/flatlaf-dashboard
Java Swing Dashboard build with flatlaf look and feel
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
Java Dashboard Light and Dark mode
This dashboard build by using java swing with flatlaf look and feel
Library use
- flatlaf-3.2.jar
- flatlaf-extras-3.2.jar
- jsvg-1.2.0.jar
- flatlaf-fonts-roboto-2.137.jar
- swing-toast-notifications-1.0.1.jar
Sample code to show form
// Application class from package raven.application
// Parameter as java.awt.Component
Application.showForm(new PanelForm());
// Set menu selection by index and subIndex
Application.setSelectedMenu(0, 0);
Menu Items
// Modify this code in raven.menu.Menu.java
private final String menuItems[][] = {
{"~MAIN~"}, // Menu title
{"Dashboard"},
{"Email", "Inbox", "Read", "Compost"},
};
Menu Event
menu.addMenuEvent(new MenuEvent() {
@Override
public void menuSelected(int index, int subIndex, MenuAction action) {
if (index == 1) {
if (subIndex == 1) {
Application.showForm(new FormInbox());
} else if (subIndex == 2) {
Application.showForm(new FormRead());
}
} else {
action.cancel();
}
}
});
More custom you can apply flatlaf style properties
Screenshot
Update Note
- [27-05-2023] Add menu item title use
~sign around your title name :{"~YOUR TITLE NAME~"} - [28-05-2023] Update auto scale component and change
Application.mainForm.showForm()toApplication.showForm() - [29-05-2023] Update popup submenu item removed border and add drop shadow border
- [31-05-2023] Update add login form
- [31-05-2023] Update selection menu background and add method selected menu by index and subIndex
- [17-06-2023] Update add Toast Notifications
- [27-06-2023] Update add menu font properties for menu item and menu label
Menu.item.fontandMenu.label.font - [27-06-2023] Update menu support right to left by enable this code
- [03-10-2023] Update add properties
AccentControl.showto show and hide accent color toolbar
Similar Projects
Discover other similar projects and AI models.
FlatLaf - Swing Look and Feel (with Darcula/IntelliJ themes support)
Swing toast notifications use for java desktop application
A fast, extensible desktop translation suite. Translate, OCR, TTS, spell check — with a plugin system.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
Open-source real-time global intelligence dashboard, REST API, and MCP server — live geopolitics, conflicts, shipping chokepoints, markets, and country risk.