Find Jobs
Hire Freelancers

BlobSim: Graphics Using an External JAR File

$10-30 USD

완료함
게시됨 9년 이상 전

$10-30 USD

제출할때 지불됩니다
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.
프로젝트 ID: 7081809

프로젝트 정보

제안서 1개
원격근무 프로젝트
활동 중 9년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
A proposal has not yet been provided
$20 USD 1일에
0.0 (0 건의 리뷰)
0.0
0.0

고객에 대한 정보

국기 (UNITED STATES)
Ocala, United States
5.0
8
결제 수단 확인
10월 1, 2014부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.