Implement a program that allows you to chat with people

Assignment Help JAVA Programming
Reference no: EM132091540

Phase : GUI (a C program, not C++)

You are asked to implement a program that allows you to chat with people over the network like the instant messaging. In this part, we are concerned about the screen control only.

We will use the curses library to achieve our goal. First of all, your program must ask for user name and password ("xyz") .

When the password is typed in, the echo must be turn off and a * is shown at the next position on the screen.

Thereafter, you should split the screen into two windows, the output window occupies the top part and the input window the bottom part.

You can assume the screen is 24 rows and 80 columns.

Your program should keep receiving input (line by line, allows the window to scroll ) from the input window and print each line, preceded by the user name, to the output window (again, allows the window to scroll).

Your program should terminate when the string "exit" is typed.

Reference no: EM132091540

Questions Cloud

Calculation of the molecular weight : Please show the calculation of the molecular weight of an unknown gas if the rate of effusion of ammonia gas (NH3) is 1.45 times faster than that of an
Mathematical definition of electrical power : Using the mathematical definition of electrical power help me show that the kilowatt-hour is a unit of energy.
Calculate how much time it takes for the bus to slow down : Calculate how much time it takes for the bus to slow down from 19.0 m/s to a complete stop.
What temperature is this light coming from : What temperature is this light coming from and where in the atmosphere do you think this comes from?
Implement a program that allows you to chat with people : Implement a program that allows you to chat with people over the network like the instant messaging.
Atmosphere larger in high latitudes or in the tropics : Is the direct effect of increasing CO2 on the energy output at the top of the atmosphere larger in high latitudes or in the tropics?
What are some practical applications : Why can water stay in bucket if you spin it upside down, if you spin the bucket fast enough? What are some practical applications of this?
Have to react before it hits the asteroid : How much time do the people on the ship have to react before it hits the asteroid?
Write a main method that reads ten integer values : Write a main method that reads 10 integer values from a file and stores them in an array called ages.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Minimum number of packages of hot dogs

Assume that hot dogs come in packages of 10, and hot dog buns come in packages of 8. Write a program called cookout.js, that calculates the number of packages of hot dogs and the number of packages of hot dog buns needed for a cookout

  Write a program to test your class myrectangle.

Compile and run your program until it works and the output looks nice. Add the necessary documentation as described in Course Documents, and then attach your .java file to this assignment. Do not attach the .class file, attach only the .java sourc..

  The data-centric java agricultural image storing application

Develop and test a specified a data-centric Java application. The required application is described in the Agricultural Image storing application- case-study

  Create using netbeans

Create, using NetBeans, a complete Java program called PatternMakerWithMethods according to the following guidelines.

  Leadership position in a hospital emergency room

Identify in a leadership position in a hospital emergency room. Evaluate how  organization handles patient and employee education, and whether that organization participates in any research (if so, find out what types and whether it is mostly qualita..

  An infix to postfix method for my java program.

an infixToPostFix method for my java program. The method must work with stacks and it should take a string as parameter. The method should be able to convert to postfix mathematic expressions such as: (12 + 4) - 23(9-6)/12. Treat the parenthesis as l..

  Example of a problematic programming situation or scenario

Suggest one (1) example of a problematic programming situation or scenario that the use or implementation of a sequence structure could resolve

  What is abstract class and how it differ from regular class

What is an abstract class and how does it differ from a regular class? Why are abstract class constructors defined as protected

  Document the current application describing major classes

Add to the Project Management tool the different planned activities needed to implement the changes to the solution and document the current application describing the major classes used by the application.

  Create a program that keeps track of specific information

Create a program that keeps track of specific information for Students - Make sure the method printTennisPlayers() is printing the contents of the ArrayList

  Compare and contrast classes and objects in java

Compare and contrast classes and objects in Java. Construct classes through systematic procedures. Discuss object-oriented design principles.

  Write a script that inputs several lines of text

Write a script that inputs several lines of text and a search character and uses String method indexOf to determine the number of occurrences of the character in the text.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd