Professional Documents
Culture Documents
OUTPUT:
JMenuBar, JMenu and JMenuItem
• JMenuBar class is used for displaying menubar on the frame.
• JMenu Object is used for pulling down the components of the
menu bar.
• JMenuItem Object is used for adding the labelled menu item.
OUTPUT:
JProgressBar. It is used for creating a progress bar of a task.
Constructors:
1. JProgressBar()
2. JProgressBar(int min, int max)
3. JProgressBar(int orient)
4. JProgressBar(int orient, int min, int max)
OUTPUT: