This dashboard build by using java swing with flatlaf look and feel
- 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
// 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);
// Modify this code in raven.menu.Menu.java
private final String menuItems[][] = {
{"~MAIN~"}, // Menu title
{"Dashboard"},
{"Email", "Inbox", "Read", "Compost"},
};
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();
}
}
});
![sample 1](https://private-user-images.githubusercontent.com/58245926/242277619-23ab0477-c11e-498d-92f9-37f6bfa944f6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NDE1MDEsIm5iZiI6MTcyNTk0MTIwMSwicGF0aCI6Ii81ODI0NTkyNi8yNDIyNzc2MTktMjNhYjA0NzctYzExZS00OThkLTkyZjktMzdmNmJmYTk0NGY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDA0MDY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNlNDUzYTEzNzVkNzVmOWI1OGNjN2EyMjU3NzlmZWQ1NTdmMjllMWNiYjM3MjI2NTI2YjIzODNlZjljNzZiY2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ePnxJtc41xRBr96y6NtgSIWH9qnVqyX_l6JYM7ckz0U)
![sample 1](https://private-user-images.githubusercontent.com/58245926/242277642-44d1972b-b29b-4a11-8fdd-be7f27782e5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NDE1MDEsIm5iZiI6MTcyNTk0MTIwMSwicGF0aCI6Ii81ODI0NTkyNi8yNDIyNzc2NDItNDRkMTk3MmItYjI5Yi00YTExLThmZGQtYmU3ZjI3NzgyZTViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDA0MDY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjMzBiYTAzYmIwNWM1MDc4OTM4OWNkODVhZDdlODY1ZTg1MDRjNWViYjIwODNiNGMyZmRmN2RiODM4NjNkNGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JLpupth5ZmlCazZcXu1QZ2g4LTQdNs7Q4zUOb7TpVyo)
![sample 1](https://private-user-images.githubusercontent.com/58245926/242278204-71c03d69-4508-43ea-86e6-2cba0c8e1dc8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6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xdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDA0MDY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFiNWIyM2RkYWVhYjY4MjY1NzU5OTk2MWMyYTdhYTlmOTQ5MThkOWJkOTc3NDM5MzljNGNjMmE0ODEzYTEzMjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0mZUqSozAMMyBhdJ1GkQMqGHS7TFsMdwDGoK0NTT604)
- [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.font
andMenu.label.font
- [27-06-2023] Update menu support right to left by enable this code
- [03-10-2023] Update add properties
AccentControl.show
to show and hide accent color toolbar