Question: Place a scroll pane and text area on the frame. You must use GridBagLayout as in:- Set the properties: NotePadEditor Frame: title, resizable editorScrollPane :

  1. Place a scroll pane and text area on the frame. You must use GridBagLayout as in:-

  1. Set the properties:
    1. NotePadEditor Frame: title, resizable
    2. editorScrollPane : preferredSize, vewportView, gridx, gridy

editorAreaText : font, lineWrap, wrapStyleWord

  1. Name and accelerator keys for the menu bar:

Text

Name

Accelerator

File

fileMenu

N/A

New

newMenuItem

-N

Open

openMenuItem

-O

Save

saveMenuItem

-S

Edit

editMenuItem

-E

Exit

exitMenuItem

None

Format

formatMenu

N/A

Bold

boldMenuItem (checkbox)

-B

Italic

italicMenuItem (checkbox)

-I

Size

sizeMenu

N/A

Small

smallMenuItem (RadioButton-sizeGroup)

-s

Medium

mediumMenuItem (RadioButton-sizeGroup)

-M

Large

largeMenuItem (RadioButton-sizeGroup)

-L

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!