TCP Chat in JavaFX: The chat application is a combination of two applications, a chat server and a chat client. Both of these applications are JavaFX applications with a simple GUI. Behind the scenes, both applications use a combination of sockets and threads to network clients to the server and manage interactions between the clients and the server. The chat server application puts up a simple window containing a text area. When clients connect or when exceptions happen, the server application will use the text area to display status messages. When a user starts up the chat client application, the client application will start by asking them to select a name for the chat using InputTextDialog. After the user enters their names, the client application will display the main window. The main window consists of a text area that is used to display the chat transcript, and an area at the bottom where the user can enter a new message and send it to the server. Any number of users can join the chat: when a user joins the server will send them the complete transcript of remarks that other users have made up to that point.
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
|