Extract the project then import the project on the netbeans Run the server.java file then click on start Server run the client.java file and put the ip of the server device then click connect on the left you will find a text field write the name of the file and the extention of the file then click on the send button and now you can transfer any file of any type in the server you will recieve the file so if it's only an image you can display it by clickin on Open icon if it's not an image click on the save button and save it any where in your device
// the chat section run the server_chat.java file go to the client side and in the object of the socket change the ip to the ip of your server dvice run the client_chat.java file