Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is a java application program. Please help me with the codes. Thank you! Assignment 1: Notepad Editor UI The demonstration week for this assignment
This is a java application program. Please help me with the codes. Thank you!
Assignment 1: Notepad Editor UI The demonstration week for this assignment is the week of March (8-12th), 2021. No demonstration will result in zero mark. This lab assessment is worth 30 marks (8% weightage). Objectives Build a notepad editor. It will have a basic menu, functional menu system that allows the user to control the appearance of the text in the editor box. Note Editor File Format Fig 1: Note Editor on launch. Tasks Involved 1) Place a scroll pane and text area on the frame. You must start with a GridBagLayout: gridx - 0 gridy - 0 editor Scrollpane 2) Set the properties: a) NotePadEditor Frame: title, resizable b) editor ScrollPane: preferredSize, vewportView, gridx, gridy c) editorArea Text : font, lineWrap, wrapStyleWord 3) Add a menu system, as per the screenshots below: X Note Editor File Format Bold Ctrl-B Italic Ctrl Size O Small CW-1 Medium Ctrl-2 O Large Ctrl-3 Figure 2: Format menu and Size submenu open. Note Editor File Format New Ctrl-N Open Culo Save Ctrl-s Edit Ctrl Exit Figure 3: File menu open. 4) Name and accelerator keys for the menu bar: Text File New Open Save Edit Name file Menu newMenuItem open Menultem saveMenultem edit Menultem exit Menultem formatMenu pold Menultem (checkbox) Accelerator N/AStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started