Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need help with written question, ty Question 3 ( 8 marks) You are given an array of words usually found in spam messages: private static

image text in transcribed

need help with written question, ty

Question 3 ( 8 marks) You are given an array of words usually found in spam messages: private static final String [ ] spamWords ={ "LV", "disclaimer", "urgent", "necessary", "free", "4u", "Guarantee", "profits", "congratulations", "opportunity", "unlimited", "scam", "casino", "profits", "amazing", "mailto", "Credit", "unsecured", "winner", "winning", "hormone", "insurance", "spam", "ringtones", "account", "blackjack", "luck", "chatroom", "Duty-free", "HD"\}; Develop a GUI (javax or javafx) to scan a text entered by a user to the text area. When the scan message button is pressed, the number of spam words found in the text and the spam likelihood (the number of spam words / spamWords.length, the above array) in \% will be displayed in the two text fields labelled as "Score" and "Spam likelihood" in the following GUI and a summary of distinct spam words found in the text area is displayed in another panel. Explore Lambda expression to trigger an event. For testing purpose, you can copy and paste the array of spam words to your program. The name of the program is YourName_Exam_3.java and upload the Java program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems X Special Issue On Database And Expert Systems Applications Lncs 8220

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2013th Edition

3642412203, 978-3642412202

More Books

Students also viewed these Databases questions