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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0OTc1NTQsIm5iZiI6MTcyMjQ5NzI1NCwicGF0aCI6Ii81ODI0NTkyNi8yNDIyNzc2MTktMjNhYjA0NzctYzExZS00OThkLTkyZjktMzdmNmJmYTk0NGY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAxVDA3MjczNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzNjk4MmYwZWM5OGE1ZGYyYTg2NDBmM2M4ZDU1ZTIwOWY0ZmQ1YTIyMDAwOGRlMzg5YzljNjEwMDk0ZDU2MTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Hj_Vhu73Wwqiy4eZnYzKiOxlXShS9Cd_r9khsHMBdFo)
![sample 1](https://private-user-images.githubusercontent.com/58245926/242277642-44d1972b-b29b-4a11-8fdd-be7f27782e5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0OTc1NTQsIm5iZiI6MTcyMjQ5NzI1NCwicGF0aCI6Ii81ODI0NTkyNi8yNDIyNzc2NDItNDRkMTk3MmItYjI5Yi00YTExLThmZGQtYmU3ZjI3NzgyZTViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAxVDA3MjczNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwNTZiOGJmNjRhZWJmMzYxMzQ4MmNkMGYwMTNjZTQ2ZmFjNDk0Y2JjYjYwMjdiNWJhZTA5MDBiNmZkZmM1NTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.NhmRX5nlhGsYr7lcuaz-BOqa1VI4FCb54Ygxk2ejjCM)
![sample 1](https://private-user-images.githubusercontent.com/58245926/242278204-71c03d69-4508-43ea-86e6-2cba0c8e1dc8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0OTc1NTQsIm5iZiI6MTcyMjQ5NzI1NCwicGF0aCI6Ii81ODI0NTkyNi8yNDIyNzgyMDQtNzFjMDNkNjktNDUwOC00M2VhLTg2ZTYtMmNiYTBjOGUxZGM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAxVDA3MjczNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhYjA4MGM5NWQ1NTA3ZTcwMThjMTA5M2Y2MGFjYjM0MWY3YjFjZTc1ODE1NzgxNmI4MjZiMWEzNTYwYmY2NzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CgKXngUHd-Rn_sF_yLJJezXlKQwRUzqNUCAQc6hS8sg)
![sample 1](https://private-user-images.githubusercontent.com/58245926/242043933-fe793459-33b8-47e7-be06-385c3e4dfa37.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0OTc1NTQsIm5iZiI6MTcyMjQ5NzI1NCwicGF0aCI6Ii81ODI0NTkyNi8yNDIwNDM5MzMtZmU3OTM0NTktMzNiOC00N2U3LWJlMDYtMzg1YzNlNGRmYTM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAxVDA3MjczNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkyODhmZTllZWJiZTJjNWI5MDViZDAzZjAwY2Y0ZjlkNDI5ZjViNmYwZDdmY2NkOWNjMzc1MDM4NGM3OTk1YTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5gfM8bm-R2xD_9Xcm-DZQIm7uiPsWsExPZJ81VaGLE0)
- [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