Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

without comments Wuite a iava program using the NetBeans IDE that can do simple calculations: When the user clicks on the button labeled Run, the

without comments image text in transcribed
image text in transcribed
Wuite a iava program using the NetBeans IDE that can do simple calculations: When the user clicks on the button labeled "Run", the class reads the string from the JextArea and performs the following functions If it founds Print@). Prints all characters after@and before ) in a new Message box. Ex.Print(@Madaba) Madaba. Print(@GJU) GJU If it founds Primlvalues (x,y,y), Prints all values between x and y increments by t in a new Message box. Ex. PrintValues (1,5,1)1,2,3,4,5 PrintValues (3,12,2)3,5,7,9,11 If it founds Finds (x,y), If it founds y in x prints "Found", otherwise print "Not-Found" in a new Message box. Ex. Print Values ("Mansour" "Man") Found PrintValues ( " 123456,"347) Not-Found 2. When the user clicks on the button labeled "Rest", the class deletes the text from the ITextArea. 3. When the user clicks on the button labeled "Undo", the class replace the last text from the last run operation in the JTextarea. 4. When the user clicks on the button labeled "Redo", the class replace the last text from the last Undo operation in the JTextArea. 5. When the user cicks on the menu labeled "New Project", the ciass creates a new Form from this program. 6. When the user clicks on the menu labeled "Save", the class Save the Current Text in Axraxulist. 7. When the user dicks on the menu labeled "Sample", the class view the Algorithms that has illustrated in the part 1 in a message 8ox. 8. When the user clicks on the menu labeled "Run All the class reads the string from the llextArea and performs as part 1 . 9. When the user clicks on the menu labeled "Find Error" the class shows a message error if any line in the text area doesn't end with semicolon

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions