[Make your own Text Editor] Create your own text editor. Like Notepad in windows Your text editor
Fantastic news! We've Found the answer you've been seeking!
Question:
[Make your own Text Editor] Create your own text editor. Like Notepad in windows Your text editor should have the following options: File (New, Open, Save, Print) Edit (Cut, Copy, Paste) Close editor Close File Edit New Open Save Print Edit options: edite File Edit Close cut copy paste JTextArea: AJTextArea is a multi-line area that displays plain text It inherits JTextComponent JTextComponent provides functions like copy, cut, paste and print You may use these functions. . JMenuBar, JMenu and JMenultem: You can use these three Java classes for this lab session JFileChooser: Provides simple mechanism for the user to choose the file You can use this class to open and save the file. Steps: Create a class called text editor. Create a JFrame and JTextArea Create three JMenu objects, for file, edit and close Add JMenultem objects in JMenu Add action listener You class shoul extend JFrame and implement ActionListener ?
Posted Date: