JavaFX and Java Sockets - Client Server Messenger

JavaFX and Java Sockets - Client Server Messenger

WittCode

3 года назад

54,821 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@garfieldnate
@garfieldnate - 08.06.2024 01:11

Very nice! Would you mind sharing the code on GitHub?

Ответить
@anovan9612
@anovan9612 - 15.04.2024 19:32

How to download this code?

Ответить
@collinwimberly4220
@collinwimberly4220 - 26.02.2024 16:16

juanito thumb 👍

Ответить
@markokristo7930
@markokristo7930 - 29.01.2024 14:46

For someone who is a programmer, his website is fucking shit

Ответить
@neildeodhar
@neildeodhar - 28.09.2023 17:55

I think I followed all steps though the program just shows the gui and when I click buttons and shit nothing happens

Ответить
@johanwithag2432
@johanwithag2432 - 11.05.2023 19:52

I couldn't find the code on your blog, without it i will not sit down for one hour to see you typing it down.

Ответить
@Alpr1010
@Alpr1010 - 02.05.2023 21:11

I think I copied everything good and well, but it's stuck on accepting the connection on the server (serverSocket.accept(). just...does nothing, no error or anything.

Ответить
@ntobekomalinga569
@ntobekomalinga569 - 27.04.2023 16:09

🔥🔥🔥🔥

Ответить
@AhajMahhin
@AhajMahhin - 26.03.2023 13:57

The server application does not work properly

Ответить
@MuhammadRaza-ps4yq
@MuhammadRaza-ps4yq - 24.03.2023 18:30

Hey! My code ran through localhost but is there anyway i can use this communication on my server

Ответить
@ikrammtimet
@ikrammtimet - 21.03.2023 20:18

hi , I really like your video but when I tryed this code it did not work for me the GUI run but whent I want to send a messege it did not show on the server or the client . can you halp me plz cause I need this for my project ?

Ответить
@roberainsarmu8135
@roberainsarmu8135 - 04.02.2023 16:54

github repo??

Ответить
@DavisTibbz
@DavisTibbz - 26.01.2023 12:40

Snake_case in java ? Either way, good tutorial

Ответить
@siamax1
@siamax1 - 10.01.2023 03:47

YES I GOT IT TO WORK LES GOOOOO

Ответить
@nafisaislamrifa4300
@nafisaislamrifa4300 - 28.12.2022 17:02

This code doesn’t work properly

Ответить
@aryanseth8898
@aryanseth8898 - 30.11.2022 18:28

are multiple clients supported?

Ответить
@ogabekhamdamov7647
@ogabekhamdamov7647 - 23.11.2022 13:59

Do you have same content but with + database image storing

Ответить
@daktariissah9562
@daktariissah9562 - 17.11.2022 03:07

and where can i see the source code bro

Ответить
@autumoswitzerland
@autumoswitzerland - 04.11.2022 20:30

SceneBuilder is for losers :)

Ответить
@rabbit3711
@rabbit3711 - 21.09.2022 06:20

Master you are a pro

Ответить
@cse9003
@cse9003 - 14.08.2022 12:55

BRO ! thank you SO F**** MUCH :DDDDD

Ответить
@gingerdude4014
@gingerdude4014 - 29.07.2022 23:05

How do you do this with multiple clients??

Ответить
@adonihaile9875
@adonihaile9875 - 24.07.2022 17:29

It is nice tutor . But I need the code right now. I even can not find it from your website

Ответить
@nurdauletagabek5798
@nurdauletagabek5798 - 05.06.2022 21:28

Thank you very much! You really helped me

Ответить
@vikaskotwani9573
@vikaskotwani9573 - 03.06.2022 12:38

hey witt, how we can make this for multiple clients what changes we do have to make.

Ответить
@dundun246
@dundun246 - 24.05.2022 20:08

I dont understand how in line 54 (Server Controller ) he isn't getting a nullpointer exception. He only creates a new object in the try catch block which shouldn't work.

Ответить
@bassemdhouieb2913
@bassemdhouieb2913 - 20.04.2022 00:54

Thank you for this amazing work !

Ответить
@akashbidap
@akashbidap - 26.03.2022 08:43

Good Explanation keep it up buddy😍

Ответить
@ryanmacanzie1846
@ryanmacanzie1846 - 23.03.2022 17:25

Please upload the code on your website.

Ответить
@nguyentranbao839
@nguyentranbao839 - 15.01.2022 11:41

Thank you for instructing me through this video. It is so detailed and thorough in the explanation and it helps me to understand the concept of Java socket more easily

Ответить
@paularcos7747
@paularcos7747 - 06.12.2021 21:53

Heyy Witt, Awesome Video, Quick question, is it possible to have both client and server classes under one Main?

Ответить
@andrehae7528
@andrehae7528 - 27.11.2021 21:56

Cant find the code on your site. :( Pls put it up

Ответить
@Funymanyay
@Funymanyay - 27.11.2021 08:32

Hey Witt, I've got a rather silly-sounding question, but what are you using to build your code? Is this compatible with Maven 3?

Ответить
@jayeshmarathe7678
@jayeshmarathe7678 - 20.11.2021 15:22

If anyone has its code please share

Ответить
@ReiSama
@ReiSama - 15.11.2021 00:59

Hello Witt, thank you for the amazing videos that you make, i would like to make some sugestion about topics that would be cool to see in this project:
Messages historic; if a client conects to a serve, he could see all the previously sent messages in that server, and also recover messages from previous sessions, i guess this one might be a tricky one kkkkk, especialy the data management.
Admin controls; the server could be able to terminate or to ban a specific client/address from connecting to the server, maybe some chat controls also? like erasing the messages sent or a specif one.

ps: there are some functionalities issues that might be good to address:
-> I noticed in the execution that the server window will not show unless a client connects, is that also happing to you or is it just an issue of mine?
-> If we close the client window the server dies, it will throw an error because there is no client to listen, i think that a server whose depends on a client connection to operate is weird kkk.
(in more details: if we terminate the client nothing happens immediately, when we try to send a message from the server it will throws exceptions because there is no one to listen, which is expected but, if we relaunch the client, it will connects to the server however, the clients messages will not get to the server, and the server messages still throws exceptions and also dont get to the client, i personaly don't understand why this happens, if i were to guess maybe it's because the socket that the server is trying to interact is from the previus client).
-> And the last one is, obviously if we terminate the server the client will throws exceptions, but it might be cool to give a function to the client to try to restore the connection when the serve is up again.

Again thank you for the amazing videos, and by no means this is an exigency or easy to be done, just some review, till next time :D

Ответить
@GreenLyfe00
@GreenLyfe00 - 10.11.2021 02:11

cant find the code in your website

Ответить
@tilekzholdoshbek726
@tilekzholdoshbek726 - 05.11.2021 05:50

hey man, I really like ur videos. It's easy to see that u create ur videos with passion. I wish u all best and don't stop. It'd be great if u make series of videos about Java Spring stuff

Ответить
@cellosoft8020
@cellosoft8020 - 04.11.2021 03:23

Good video, straight to the point ! Thank You so much !! (btw i can't download the code that you posted on your site, the title is there but not linked)

Ответить
@alovesxo9581
@alovesxo9581 - 02.11.2021 06:33

Another amazing video! Thanks so much! 🤩

Ответить
@martingogaming1777
@martingogaming1777 - 02.11.2021 01:28

Thank you, I haven't really used javaFX. But it looks a lot nicer than JFrame.

Ответить
@bmuso1002
@bmuso1002 - 02.11.2021 01:09

Excelent video, greetings!

Ответить
@kola33258
@kola33258 - 01.11.2021 17:12

Thank you!

Ответить
@minhhieucao4015
@minhhieucao4015 - 01.11.2021 10:52

I wish this was a socket part that continues the previous video registration and login part

Ответить
@TheStefanowich
@TheStefanowich - 30.10.2021 02:24

Looking forward to this! I hope you will use the MVVM pattern.

Ответить