Java

Chat System - Server Commands & Kicking Clients

Submitted by GeePee on
Introduction: This tutorial is the fifteenth in my Java Network Programming using KryoNet series, or tenth in creating a chat client and server system, in which we are going to be adding a feature to the server where the user in control of the server is able to kick specific clients out of the chat room. Previous: In the previous tutorial we finished making the ChatGUI work along with adding the functionality of commands. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently conn

Chat System - Chat GUI Commands [Members] and Receiving Messages

Submitted by GeePee on
Introduction: This tutorial is the fourteenth in my Java Network Programming using KryoNet series, or ninth in creating a chat client and server system, in which we are going to be making the rest of the ChatGUI work from the previous tutorial. Previous: In the previous tutorial we created a chat GUI to allow the user to physically send and receive messages visually.

Chat System - Chat GUI

Submitted by GeePee on
Introduction: This tutorial is the thirteenth in my Java Network Programming using KryoNet series, or eighth in creating a chat client and server system, in which we are going to be adding a chat GUI to the client. Previous: In the previous tutorial we created a login GUI for the client to allow for more interaction with the user. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently connected members of the chat. When a client connects, add them to a list. Send incoming messages

Chat System - Login GUI & Altering Messages

Submitted by GeePee on
Introduction: This tutorial is the twelfth in my Java Network Programming using KryoNet series, or seventh in creating a chat client and server system, in which we are going to be altering received messages and creating the login GUI for the client. Previous: In the previous tutorial we created a way to stop two clients from having the same username, therefore making all client usernames unique. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently connected members of the chat.

Popup Menu in Java

Submitted by ainaerik on
This tutorial will teach you how to create Popup Menu in java swing. I used JPopupMenu. I also used JMenuBar, JMenu, JMenuItem. The following are the steps to run this program: 1 Extract PopupMenu.zip 2 Open Eclipse IDE and create new java project 3 Import MainClass.java and PopupMenu.java file If you find my code useful, send me an email at: [email protected] Facebook: Ny Aina Erick Randrianjafy

Chat System - Client Unique Usernames

Submitted by GeePee on
Introduction: This tutorial is the eleventh in my Java Network Programming using KryoNet series, or sixth in creating a chat client and server system, in which we are going to be ensuring that no two clients have the same username. Previous: In the previous tutorial we created a way to circulate any incoming messages to the server to the rest of the clients. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently connected members of the chat. When a client connects, add them to a

Chat System - Passing On the Message

Submitted by GeePee on
Introduction: This tutorial is the tenth in my Java Network Programming using KryoNet series, or fifth in creating a chat client and server system, in which we are going to be sending the message to all other clients. Previous: In the previous tutorial we created a way to automatically remove clients that disconnect through a new disconnect listener on the server. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently connected members of the chat. When a client connects, add them

MenuBar in Java

Submitted by ainaerik on
This tutorial will teach you how to create MenuBar in java. I used JMenuBar,JMenu,JMenuItem. So, now let's start this tutorial! 1- Extract MenuBar.zip and copy to Eclipse Workspace 2- Open eclipse then click File/Import/General/Existing Projects into Workspace/Next 3- In the Select root directory: click Browse 4- Select MenuBar folder then OK/Finish If you find my code useful, send me an email at