Skip to content

iandiv/Side-Menu-Panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Side Menu Panel

Side Menu for Java Swing Application.

Alt text

Methods Functions
setMain() set Main Panel
setSide() set Sidebar/Side Panel
setMinWidth() set Sidebar Minimum Width
setMaxWidth() set Sidebar Maximum Width
setMainAnimation() enable/disable Main Animation
setSpeed() set Sliding Animation Speed
openMenu() open Menu without animation
closeMenu() close Menu without animation

Usage

 SidemenuPanel sp;
 sp = new SideMenuPanel(this);
        sp.setMain(mainPanel);
        sp.setSide(sidebar);
        sp.setMinWidth(55);
        sp.setMaxWidth(150);
        sp.setMainAnimation(true);
        sp.setSpeed(4);
        sp.setResponsiveMinWidth(600);

(c) 2020-2021 | IanDiv