This dashboard build by using java swing with flatlaf look and feel
// 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();
}
}
});
~
sign around your title name : {"~YOUR TITLE NAME~"}
Application.mainForm.showForm()
to Application.showForm()
Menu.item.font
and Menu.label.font
AccentControl.show
to show and hide accent color toolbar