The text in side menu command exceeds the width of the side menu, which makes somewhat peculiar effect.
see the video here
How can I set multiline as in textArea in this case?
Command protectedPlantAndSpecies = new Command(" Protected plants and species of nepal", protectedPlantIcon) {
@Override
public void actionPerformed(ActionEvent evt) {
new Notification(res).show();
}
};
f.getToolbar().addCommandToSideMenu(protectedPlantAndSpecies);