Top Banner
MENUS AND PROGRESS BARS Joey Erlandson and Alex Blue
9
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MENUS AND PROGRESS BARS Joey Erlandson and Alex Blue.

MENUS AND PROGRESS BARSJoey Erlandson and Alex Blue

Page 2: MENUS AND PROGRESS BARS Joey Erlandson and Alex Blue.

WHAT IS A MENU?

In computing, a menu is typically a dropdown with several options and tasks that can be chosen

Menus are usually hierarchically organized

They can allow access to multiple levels of a menu

An example is the File, Home, or Insert menu in several Microsoft Office applications

Page 3: MENUS AND PROGRESS BARS Joey Erlandson and Alex Blue.

MENU IN JAVA

Declaration:

menuBar = new JMenuBar();

menu = new JMenu("Menu");

Invocation:

frame.setJMenuBar(demo.createMenuBar());

Page 4: MENUS AND PROGRESS BARS Joey Erlandson and Alex Blue.

CHANGE IN MENUS OVER TIME (WINDOWS)

Windows XP

Windows 98 Windows 8

Page 5: MENUS AND PROGRESS BARS Joey Erlandson and Alex Blue.

CHANGE IN MENUS OVER TIME (MAC)

Original MacintoshMac OS 9

Upcoming OS X v10.10 Yosemite

Page 6: MENUS AND PROGRESS BARS Joey Erlandson and Alex Blue.

WHAT IS A PROGRESS BAR?

A progress bar is a tool for a computer user to see the progress of a computer operation that is currently under task

There are several different forms of progress indicators, like bars, shapes, lines, and other ways that show gradual progress

Some examples of progress bars are in copying and deleting files, loading bars in video games, and saving progress

Page 7: MENUS AND PROGRESS BARS Joey Erlandson and Alex Blue.

PROGRESS BAR IN JAVA

Declaration:

progressBar = new JProgressBar(0, 100);

Invocation:

ProgMenu demo = new ProgMenu();

Page 8: MENUS AND PROGRESS BARS Joey Erlandson and Alex Blue.

Examples of Progress Bars