0% found this document useful (0 votes)
17 views

Messenger Applet.: All The Implemented Must Be Marked As Comments in The Code in Their Exact Used Place!!!

The document outlines specifications for a "Messenger" application that allows users to select contacts from a list to send text messages and image files to. The main window would contain menus to exit the app or view contacts. The contacts list shows nicknames and images, is sorted alphabetically, and can be edited, with data saved to a file. Selecting a contact enables messaging with that person, and conversations including sent date/time are displayed, allowing text copying and image viewing. Conversations are saved to files and reloaded. The app must implement JUnit tests, exception handling, multithreading, generics/collections, reflection, I/O streams, and regular expressions, with comments marking each technique's use.

Uploaded by

Ahtisham Azhar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Messenger Applet.: All The Implemented Must Be Marked As Comments in The Code in Their Exact Used Place!!!

The document outlines specifications for a "Messenger" application that allows users to select contacts from a list to send text messages and image files to. The main window would contain menus to exit the app or view contacts. The contacts list shows nicknames and images, is sorted alphabetically, and can be edited, with data saved to a file. Selecting a contact enables messaging with that person, and conversations including sent date/time are displayed, allowing text copying and image viewing. Conversations are saved to files and reloaded. The app must implement JUnit tests, exception handling, multithreading, generics/collections, reflection, I/O streams, and regular expressions, with comments marking each technique's use.

Uploaded by

Ahtisham Azhar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Implement a swing-awt-based Messenger app where users can perform the following tasks:

The implemented application must be displayed in the main window (frame). Do not create an
Applet.
There must be a main window menu containing the following menu items:

Exit: kills the application


Messenger Specification The goal of this application is to provide an messenger user
interface.

Contacts:
1. When the program starts it shows a frame where contacts can be selected
from a list. That list shows the contacts with nickname and contact image.
2. The contact list should be ordered by the contact nickname.
3. The system provides the possibility to add, update or remove contacts from the
contact list.
4. The contacts with all necessary information (nickname, first name, last name,
contact image, creation date) is saved (i.e. in a txt file) and reloaded on every start
of the program and at every data change.
5. The user has the possibility to delete the contact information of all contacts by
clicking on a button Remove contacts

Messages:
6. If the user clicks on one of these contacts the system gives the possibility to
send text messages and image files (i.e. .jpg).
7. The full conversation (text messages and images) is shown with the
respective sending date and time.
8. The system provides a functionality to copy a selected text.
9. The system provides a functionality to open a selected image file in full size mode.
10.The conversation with each contact is saved (i.e. in a txt file) and reloaded on each
chat interaction.
11.The user has the possibility to delete a single message or even to delete the full
conversation with a specific user.
12.The user has the possibility to delete all conversations with all contacts by clicking
on a button Remove conversations

IMPORTANT!!! The system MUST implement ALL 7 Programming techniques:


1) Junit Test Cases and Test Suite
2) Exception Handling
3) Multithreading (Hint: For conversation updates)
4) Generics and Collections
5) Reflection and RTTI
6) I/O and Streams (Hint: Reading data and writing to files)
7) Regular Expressions (Hint: Data format check)

All the implemented must be marked as comments in the code in


their exact used place!!!

You might also like