
Closed
Posted
Paid on delivery
I need someone to create a Java program with the following features: The program should include a multithreaded server and clients. Each client is represented by a graphical window, started from the main method. Inside the windows, there is a ball that bounces off the external walls but can pass through the internal ones. this is the code for the ball: import javax.swing.*; import java.awt.*; import [login to view URL]; import [login to view URL]; public class BouncingBall extends JPanel implements ActionListener { private int ballX = 50; // posizione iniziale x della palla private int ballY = 50; // posizione iniziale y della palla private int ballDiameter = 30; // diametro della palla private int ballDeltaX = 2; // velocità orizzontale della palla private int ballDeltaY = 3; // velocità verticale della palla private Timer timer; public BouncingBall() { timer = new Timer(10, this); // imposta un timer per aggiornare la posizione della palla [login to view URL](); } @Override protected void paintComponent(Graphics g) { [login to view URL](g); [login to view URL]([login to view URL]); [login to view URL](ballX, ballY, ballDiameter, ballDiameter); // disegna la palla } @Override public void actionPerformed(ActionEvent e) { // aggiorna la posizione della palla ballX += ballDeltaX; ballY += ballDeltaY; // controllo dei confini per il rimbalzo if (ballX < 0 || ballX + ballDiameter > getWidth()) { ballDeltaX = -ballDeltaX; // inverti direzione orizzontale } if (ballY < 0 || ballY + ballDiameter > getHeight()) { ballDeltaY = -ballDeltaY; // inverti direzione verticale } repaint(); } public static void main(String[] args) { JFrame frame = new JFrame("Bouncing Ball"); BouncingBall bouncingBall = new BouncingBall(); [login to view URL](bouncingBall); [login to view URL](400, 300); // imposta la dimensione della finestra [login to view URL](JFrame.EXIT_ON_CLOSE); [login to view URL](true); // rende visibile la finestra } } Ecco come funziona il codice: La classe BouncingBall estende JPanel e implementa l'interfaccia ActionListener . La classe BouncingBall contiene variabili di istanza per la posizione e le dimensioni della palla, nonché per la velocità orizzontale e verticale della palla. Il costruttore della classe BouncingBall crea un timer che invia eventi ad ogni 10 millisecondi. Il metodo paintComponent disegna la palla sulla finestra. Il metodo actionPerformed viene chiamato ogni volta che il timer invia un evento. Questo metodo aggiorna la posizione della palla e controlla i confini della finestra per far rimbalzare la palla. Il metodo main crea una finestra JFrame , aggiunge un'istan At startup, it should be possible to choose the number of columns to distribute the windows. Each window has four sides, and I must be able to decide for each side whether the ball can bounce or not. The clients must communicate with each other continuously to exchange the ball's coordinates in real time. This is a relatively simple task, but I don't have time to do it. It must be ready and delivered by Wednesday afternoon. The user interface can be basic with only essential elements. Clients should communicate using TCP protocol. The windows should be resizable by the user. The communication must take place through read and write exchanges on the communication buffer via sockets.
Project ID: 38852371
32 proposals
Remote project
Active 1 yr ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
32 freelancers are bidding on average $153 USD for this job

Hi there, I have checked the description of your project. I have excellent programming and development skills to support and complete your project with 100% accuracy and efficiency. I have extensive skills in various programming languages, databases, frameworks, and APIs that will be utilized to complete your project. Contact me with all the details and requirements for your project for further discussion. I will provide you with dedicated support and follow-up. Regards, Farah Khan
$140 USD in 3 days
7.7
7.7

I have extensive experience in developing multithreaded Java programs with interactive features. Here is a technical approach to address the client's needs: 1. Develop a multithreaded server that can handle multiple client connections simultaneously. 2. Create a graphical window for each client using Java Swing to display the bouncing ball. 3. Implement logic for the ball to bounce off external walls but pass through internal ones based on user-defined settings. 4. Use TCP socket programming for continuous communication between clients to exchange real-time ball coordinates. 5. Allow users to choose the number of columns to distribute the windows at startup and enable resizing functionality. 6. Implement a mechanism for users to set preferences for each window side to allow or disallow ball bouncing. Technologies and tools that will be used: - Java programming language for backend logic and client-server communication. - Java Swing for creating graphical user interfaces. - TCP sockets for network communication between the server and clients. Plan for testing and integration: 1. Unit testing: Test each component, such as server functionality, client interactions, ball movement logic, and communication. 2. Integration testing: Validate the interaction and communication between the server and multiple clients. 3. User acceptance testing: Ensure that the user interface is intuitive, responsive, and meets the defined requirements. Optimizations for performance and scalability: 1. Implement efficient algorithms for ball movement and collision detection to ensure smooth animation. 2. Use thread pooling to manage client connections effectively and optimize resource utilization. 3. Design the server architecture to handle a large number of concurrent client connections gracefully. By following this approach, the Java program will be reliable, user-ready, and meet the specified requirements by Wednesday afternoon.
$250 USD in 7 days
6.7
6.7

Hello Sir/MAM I am a skilled full stack developer. Having rich experience in Java , C++ , C , C# , Python , Eclipse , Sql , Mysql , .Net ,Oracle , Object Oriented Programming , Data Structure , Algorithms . I have a perfect grip on “Artificial Intelligence” “Automation” , and work in “Machine Learning” Deep Learning ”. My track record as demonstrated in my 100% job completion and 5-star review rating showcases My ability to deliver exceptional results on time and with utmost quality I believe that my skill set makes me the ideal candidate for this project Please come on chat we will discuss more about this I will be waiting for your reply . Thanks and Best Regards
$180 USD in 1 day
6.0
6.0

Hello I have keen interested to do your posted project. I have extensive development experience in various Programming Languages, Functional programming and Object Oriented programming, Data Structures, Database-driven applications, APIs, PDF file creation and editing, PDF Forms, Excel, macros and VBA, File handling and Data Transformation, ETL, Database management, Database administration, configuration, backup and various frameworks. I am detail oriented and self-driven programmer. I assure you an excellent solution for your project within the time frame and exactly according to the requirements. Thanks @CodingHelpLine
$125 USD in 4 days
6.1
6.1

With my extensive experience as a Java developer at VISIT, I am confident in my ability to create the multithreaded Java program you need. I have a deep understanding of Java and am comfortable working with multithreading and GUI elements; this ease extends to activities such as ball bouncing and window resizing. Your project also requires efficient networking skills for client communication, which is an area where I thrive. Having worked on numerous projects involving network communication using the TCP protocol, I can ensure that your clients will be able to exchange real-time coordinates seamlessly. At VISIT, our main aim is total client satisfaction through timely delivery of high-quality solutions, which aligns perfectly with your Wednesday afternoon deadline. You can trust me to deliver on time without compromising the quality of work. Let me bring my expertise to your task and provide you with an exceptional solution that exceeds your expectations. Thank you for considering my candidacy, and I look forward to potentially working with you!
$80 USD in 1 day
6.4
6.4

Hello there I can help you to complete the project asap It’s easy job for me I’m waiting for your response to discuss further Thank you.
$80 USD in 1 day
5.2
5.2

Hi there, we are a team of developers and we can do this project. Please send me the project complete details to start. Thanks Ashish Kumar.
$140 USD in 7 days
5.1
5.1

"I have gone through your description. "This is my area of specialization, i can get it done 100 % perfectly well. Please ping me in person. I can help you to complete all tasks. I have hands-on experience in this field. We have already done similar types of projects. Connect with us for more details. Rest assured your satisfaction is guaranteed." Looking forward to your response." Thank you for your time and I am confident that we will be a great fit for this project. Best,
$50 USD in 1 day
4.9
4.9

I speak only english, but I fully understand your project. :) I have 7 years of experience using java. I can definitely complete this in your timeframe. I am eagerly waiting for your message.
$136 USD in 7 days
4.5
4.5

Hi With 4+ years of experience as a java developer, I completely understood your needs and I am very interested in the project. I have relevant skills including java, java swing, javafx, multi threading etc and expertise to complete this project. I am available to start working on this right away. I am willing to provide the services well within your budget and timeline with perfection and 100% satisfaction. Looking forward to your positive response. Best
$140 USD in 7 days
4.4
4.4

Hello Diegone06, I am excited about the opportunity to work on your project requiring a Multithreaded Java Program with Interactive Features. As an experienced full-stack developer proficient in Java and Software Architecture, I am confident in delivering a high-quality solution that meets your specifications. With my expertise in Socket IO and Swing, I can create a multithreaded server and client interface with interactive features as per your requirements. The ability to customize the number of columns and ball behavior, along with real-time communication between clients, will be key features of the program. I am committed to delivering the project by Wednesday afternoon, ensuring it meets your expectations. I look forward to discussing more details and collaborating on this exciting project. Let's create something amazing together!
$175 USD in 3 days
5.0
5.0

Hello, I will develop a Java program with multithreaded clients and server, allowing ball movement synchronization via TCP, with customizable bouncing walls, resizable windows, and real-time communication. Let's hope on a quick chat to discuss this further. Thanks!
$139 USD in 7 days
4.0
4.0

Hey there, I am a Java engineer with over 5 years of experience. I specialize in building multithreaded server-client applications, working with graphics (like the ball simulation you're describing), and implementing TCP socket communication for real-time interaction between clients. My expertise includes Java networking (TCP), multithreading, and GUI programming (Swing). I have worked on several projects that required synchronizing multiple clients in real-time, and I can implement your requirements efficiently. For your project, I will set up the multithreaded server and client structure, implement communication via TCP sockets, and add the ability to control ball movement based on whether the ball can bounce off the sides of the window. The number of columns for the windows and resizable functionality will be handled as well. With my experience, I’m confident I can complete this task on time, ensuring a smooth and functional solution. Feel free to check my profile and contact me for more details. Regards
$140 USD in 2 days
3.7
3.7

i am ready to work with in 12 hours time message me with documentation To create a multithreaded server and client system where each client represents a graphical window (such as the one you're using for the bouncing ball), you would need to divide the functionality into two main parts: Server and Client. Here's an approach on how you can modify and extend your existing BouncingBall code to create a basic multithreaded server-client model.
$140 USD in 1 day
5.0
5.0

Hi There! Thanks for posting project "Multithreaded Java Program with Interactive Features" I would like to work over you project immediately as per your requirements up-to your satisfaction as I am working since last 11 years in same field Please review my portfolio and more then 1100+ positive feedback PORTFOLIO LINKS: https://www.freelancer.in/u/KayaCreation UNLIMITED SAMPLES AND CHANGES Experienced in Software Architecture, Swing (Java), Java and Socket IO. Best Regards Kaya
$50 USD in 1 day
3.3
3.3

Hello, I can deliver the multithreaded server-client Java program you described, complete with bouncing ball windows, TCP communication between clients, and all specified functionalities. I understand the importance of meeting your Wednesday deadline and will ensure a timely and high-quality delivery. Here’s why I’m the ideal choice for this project: • Experience: I have a strong background in Java programming, particularly in multithreading, socket communication, and GUI development. • Timely Delivery: I have handled tight deadlines effectively in the past and will prioritize this project to meet your timeline. • Clean Code: I will write well-structured, commented, and maintainable code for ease of future enhancements. I will ensure that the program includes configurable window columns, resizable windows, bounce control for each side, and real-time communication using the TCP protocol. Let’s discuss further to finalize the requirements and get started.
$140 USD in 7 days
3.7
3.7

⭐✅ Hi there! ⭐✅ I’m a skilled Java developer with extensive experience in creating multithreaded servers and clients. I can help you build the program with the features you need, including graphical windows with bouncing balls that interact in real-time through TCP communication. ✔ Multithreaded Server & Client: Expertise in handling multiple clients with seamless interaction. ✔ Real-Time Communication: Ensuring constant communication for synchronized ball movements. ✔ Graphical Interface: Creating resizable windows and customizable bouncing conditions for the ball. Let’s work together to complete your project efficiently and deliver it on time! Dario
$150 USD in 3 days
2.6
2.6

We are a passionate and skilled team with solid experience in website and mobile app development. Although we're new to freelancing, we have a strong track record of delivering high-quality, responsive websites and intuitive mobile apps. We specialize in creating custom solutions tailored to your needs, ensuring seamless user experiences and robust performance. Whether you need a sleek website or a feature-rich app, we’re here to bring your ideas to life with professionalism and attention to detail. Let’s build something amazing together.
$250 USD in 10 days
0.0
0.0

Hi there, I heard that you want a java program, I had 1 year programming in java, I think I can help you with it
$140 USD in 7 days
0.0
0.0

Hi, Hope you are doing well. As a highly skilled and experienced Freelancer in Software Architecture, I am confident in my capability to design and build your desired multithreaded Java program with interactive features. Having successfully developed over 100+ iOS and Android apps, I am well-versed with crucial program functionality such as multi-language support, use of APIs like Map and Core Location, social app integration, push notifications via TCP protocol, and many others that are integral to your project. Moreover, my team consisting of expert iOS and Android app developers can assure you a comprehensive approach towards your project. We understand the importance of not just creating a functional program but also making it user-friendly and adaptable to client's varying needs. Therefore, we'll incorporate a resizable user interface which can easily distribute windows depending on the columns chosen at startup. Finally, my commitment to providing excellent technical support post-delivery ensures your satisfaction beyond Wednesday afternoon. With all the requisite skills and dedication, I am eager to take on this Project . Please review my profile - https://www.freelancer.in/u/rijutapatidar So let’s discuss in detail over chat then we will make a plan to start work on it. Thanks
$140 USD in 7 days
0.0
0.0

Localita, Italy
Payment method verified
Member since Dec 2, 2024
€30-250 EUR
€30-250 EUR
₹12500-37500 INR
₹600-1500 INR
₹12500-37500 INR
$10-30 USD
₹600-1500 INR
$10-30 USD
₹750-1250 INR / hour
₹12500-37500 INR
₹600-1500 INR
$30-250 USD
₹1500-12500 INR
$250-750 USD
₹1500-12500 INR
$2-8 USD / hour
₹750-1250 INR / hour
$30-250 USD
$30-250 USD
₹150000-250000 INR
$15-25 USD / hour
£20-250 GBP