Java

Network Programming in Java - #7 - Chat System #2 - Client Handler

Submitted by GeePee on
Introduction: This tutorial is the seventh in my Java Network Programming using KryoNet series, or second in creating a chat client and server system, in which we are going to be setting up a way to handle clients on our server. Previous: In the previous tutorial we altered snippets of code to convert them from our test server and clients to our beginning point of chat server and 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

Network Programming in Java - #6 - Chat System #1 - Cleaning Test Files and Sending Usernames

Submitted by GeePee on
Introduction: This tutorial is the sixth in my Java Network Programming using KryoNet series in which we are going to be beginning our multi-client chat system. We are going to be running off the test server and client so make sure you have followed and understood the previous tutorials of this series. Previous: In the previous tutorial we created an Package of Packets involving Packet and Packet1Connect.

Network Programming in Java - #5 - Packets & KryoNet Registering

Submitted by GeePee on
Introduction: This tutorial is the fifth in my Java Network Programming using KryoNet series in which we are going to be starting on Packets. Previous: In the previous tutorial we created a listener on our server, and sending a test TCP data-stream from our client. What Are Packets? Packets are essentially temporary files of data which are used to transmit the data from one location to another - our server to client, or vice versa. Our Packets: First create a new Package in our Src folder of our Client Java Project named "P

Network Programming in Java - #4 - Receiving and Sending Data - Server Listener & Client sendTCP Method

Submitted by GeePee on
Introduction: This tutorial is the fourth in my Java Network Programming using KryoNet series in which we are going to be adding a listener to our server and sending test data over TCP from the client to the server. Previous: In the previous tutorial we created a test client to connect to our test server. TCP vs. UDP: TCP and UDP are both Protocols which transmit data from one point to another through data streams.

Network Programming in Java - #3 - Creating a Test Client

Submitted by GeePee on
Introduction: This tutorial is the third in my Java Network Programming using KryoNet series in which we are creating a test client to connect to our test server. Previous: In the previous tutorial we created a test server. IMPORTANT: A) Your server and client can not be running at the same time, in Eclipse, in the same Java Project.

Network Programming in Java - #2 - Creating a Test Server

Submitted by GeePee on
Introduction: This tutorial is the second in my Java Network Programming using KryoNet series in which we are creating a test server. Previous: In the previous tutorial we downloaded the KryoNet files and set up our projects. Test Server: So first, create a new file called Main (can be whatever you like) and add the following imports...

Clipboard

Submitted by ainaerik on
Clipboard in java. Try this project and you will enjoy learning using this programming language. The following are the steps to run this program: 1- Extract clipboard.zip 2- Open Eclipse IDE 3- click file menu and Import 4- general/existing projects into workspace/next 5- check, select root directory and click browse 6- locate the project folder then click ok/finish If you find my code useful

Splashscreen

Submitted by ainaerik on
Splashscreen in java. This is usually used as a start up of any system. It looks like a introduction of a system or maybe showing that the system is loading and is starting. The following are the steps to run this program: 1- Extract SplashScreen.zip 2- Open Eclipse IDE 3- click file menu and Import 4- general/existing projects into workspace/next 5- check, select root directory and click browse 6