Tutorials

Chat System - User Levels

Submitted by GeePee on
Introduction: This tutorial is the seventeenth in my Java Network Programming using KryoNet series, or twelfth in creating a chat client and server system, in which we are going to be adding a user level system in to the server in preparation for the next tutorial (making requests from clients to admins). Previous: In the previous tutorial we added private message features to the client. 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 c

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.

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

For Loop in Java

Submitted by donbermoy on
This tutorial will teach you how to use for loop in java. A For Loop is used to iterate through a condition a certain amount of times. I used this type of looping when I know how many times a task is to be repeated. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of sampleForLoop.java. 2.