Find Jobs
Hire Freelancers

BlobSim: Graphics Using an External JAR File

$10-30 USD

Zavřený
Zveřejněno přibližně před 9 roky

$10-30 USD

Zaplaceno při doručení
MUST USE NetBeans IDE 8.0.2 Additional files will be provided later. For this program, you will make use of the "[login to view URL]" external JAR file we demonstrated and discussed in lecture to present a graphic display of various sized blobs moving in different directions, at different rates, and bouncing off the walls of the enclosing graphic container. NetBeans Project Setup 1. Download the [login to view URL] in a new window file and put it in a location where you will not lose track of it. 2. Also download the [login to view URL] in a new window documentation for the classes in [login to view URL], and put this zip file in the same folder as the JAR file. Then, unzip it. This will create a "Blob-javadoc" folder. Find the "[login to view URL]" file in the folder and open it with your favorite web browser. Then bookmark the page. From this page, you will be able to view the Javadocs for all classes in the Blob package. 3. Create a Java application project called "BlobSim" in NetBeans. Edit the "packaging" properties so that the source (.java) files will be included in the JAR file. 4. In the Project Properties for your project, select the "Libraries" category. Then, press the "Add JAR/Folder" button. A dialog will appear where you will be able to find and select the [login to view URL] file on your system. Select it. You should now see that [login to view URL] is included in the "Compile-time Libraries" window on the dialog. Select "OK". Your project is now set up to use Blob.jar. Program Development 5. Create the Java class files for your program. The program should do the following: (a) create 20 blobs; (b) the blobs should start out in random locations on a 400 x 400 drawing surface; (c) the blobs should have random size values that range from 10 to 40 pixels in diameter; (d) the blobs should have motion vectors where the x and y values of the motion vector vary independently of each other, and where each of them can range from -4 to 4. For this assignment, you should need only one simple class with a main method. The class should import the blob package classes that we showed in the examples that were covered in lecture. 6. Run and debug your program until it does what it is supposed to do. 7. Clean and build your program. This will create a [login to view URL] file in the dist folder. You should be able to drill down in the dist folder and see that your source file is included in the JAR file. Program Testing 8. Create a folder called "prog3" on your desktop and put a copy of your [login to view URL] file in this folder. 9. Also create a folder called "lib" inside the prog3 folder and put a copy of the [login to view URL] file in the lib folder. 10. Now, open a command window and navigate to the prog3 folder on your desktop. For most systems, you should be able to get there by entering: "cd Desktop\prog3" on a Windows machine and "cd Desktop/prog3" on a Mac/Linux machine. 11. Now, run your program using the command: "java -jar [login to view URL]". Your program should run. If it does not, fix the problem and keep testing until you meet with success. What to Submit 12. Submit ONLY the [login to view URL] file that was successfully tested in step 11, above.
IČ projektu: 7081998

O projektu

3 nabídky
Vzdálený projekt
Aktivní před 9 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
3 freelanceři nabízejí v průměru $40 USD za tuto práci
Avatar uživatele
A proposal has not yet been provided
$30 USD v 1 dni
5,0 (6 recenze)
3,7
3,7
Avatar uživatele
Hello, I'm very happy to receive the description of your project. I have experience of code development by c++, Java, HTML, PHP, . I have a team of competent developers behind who are full of skills for a variety of web development. I want to perform your project. Wait for you.
$50 USD v 3 dnech
4,9 (8 recenze)
2,9
2,9
Avatar uživatele
Hello. I saw your description. I can do this assignment for u But before start working for you,I want to discuss with you. Please contact me. Bye.
$34 USD v 1 dni
5,0 (4 recenze)
2,0
2,0
Avatar uživatele
Hi, i have been developing for 7 years, 4 of them working on Java. I will be glad to help you with your project, you wont regret to work with me. Feel free to contact me. Regard, Steve.
$40 USD v 3 dnech
0,0 (0 recenze)
0,0
0,0

O klientovi

Pochází z UNITED STATES
Altamonte Springs, United States
5,0
1
Ověřená platební metoda
Členem od úno 4, 2015

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.