Question: 1. Code and run the Simple Text Editor Application (0 points) 2. Code a new third, fourth, and fifth menu with 5 different options. with

 1. Code and run the Simple Text Editor Application (0 points)2. Code a new third, fourth, and fifth menu with 5 differentoptions. with correct and complete comments describing all... files classes methods datafields flow control blocks of code lines of code requiring explanation CaseStudy 7 A Simple Text Editor Application CS7-3 Figure CS7-3 Text displayedin various fonts and styles SansSerif font, plain style Monospaced font, boldstyle 0XText Editor & Text Editor ile y default, JTetArea components donot perform line wrapping r defauit, Text Area corponents do sot perforn ine wrapping. This neans that when text is s means thatwhen ted is entered into the component, and end of a line

1. Code and run the Simple Text Editor Application (0 points)

2. Code a new third, fourth, and fifth menu with 5 different options.

with correct and complete comments describing all...

files

classes

methods

data fields

flow control

blocks of code

lines of code requiring explanation

Case Study 7 A Simple Text Editor Application CS7-3 Figure CS7-3 Text displayed in various fonts and styles SansSerif font, plain style Monospaced font, bold style 0XText Editor & Text Editor ile y default, JTetArea components do not perform line wrapping r defauit, Text Area corponents do sot per forn ine wrapping. This neans that when text is s means that when ted is entered into the component, and end of a line is reached, the text does not wrap around to the ext line. You can use the JTextArea class's set.ineirap um line wrapping on, however. The method accepts a oolean argument Ifyou pass true, then line wrapping is turned n. Ifyou pass faise, line wrapping is turned off into the corgonent, and the end ot a line reached, the text does not sap around to the ap nethod to tur line rapping on pass true, then line rapping is turned on. I line. You Can use the JText Area class's The net hed accepts a boolean aryent. I pass talse, 1ine wapping is tursed ott Serit font, bold and italic style Text Editor Fie ydfaul TeArea component do not perfome line waping This at wen ed is entered into the component and the end of a ne as ,e ached, the text dode not wrup anound ithe next line You can heJTedAva clan'swtline Whag mathod to tas line wapping on, The mthod accepts a boolean arumnt you pa ue, tn Code Listing CS7-1 (TextEditor.java) 1 import java.awt.* 2 import java.awt.event.*; 3 import javax.swing.* 4 import java.io.*; 7 The TextEditor class is a simple text editor 10 public class TextEditor extends JFrame 12 / The following are fields for the menu system. 13 / First, the menu bar 14 private JMenuBar menuBar; 15

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!