If localhost:port# was transmitting data and you wanted to read the data via Java to turn it into a string and display it, is there a library for that? Otherwise, how would you go about that?
Thanks! 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Java has several utility classes to support those operations, such as Socket (for connecting to the local port), StringBuilder (to build a string), and JTextArea (to display the data in a GUI).