How Software Gets Done  


Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
Newest Bid Requests.
(See all)
3 banners
By madduxsports on Jul 31
Max Bid: $75

webcrawler/inte rnet search engine
By infomaterials on Jul 31
Max Bid: $500

BizTalk / Meta Data Integration Project
By eXml on Jul 31
Max Bid: $15,000

Online CRM
By ICU on Jul 31
Max Bid: Open to fair suggestions

Logo development
By inet29 on Jul 31
Max Bid: $50

PC to Phone & PC
By Csyscom Inc. on Jul 31
Max Bid: $400

Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
(158 open)
(59 open)
(91 open)
(12 open)
   SQL Server 
(71 open)
   Other DB 
(26 open)
Documentation / Tech Writing 
(26 open)
   Language (Human) Translations 
(2 open)
Data Entry 
(24 open)
Game Development 
(20 open)
Graphics / Art / Music 
(58 open)
(65 open)
     Adobe AfterEffects 
(7 open)
     Adobe Photoshop 
(35 open)
     Adobe Premiere 
(4 open)
     3d Animation 
(14 open)
   Art (Misc.) 
(18 open)
(13 open)
(4 open)
   3d Modeling 
(8 open)
Language Specific 
(116 open)
(66 open)
   ASP .NET 
(54 open)
(44 open)
   C++ / C 
(135 open)
   Carbon (Mac OS) 
(3 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(12 open)
(48 open)
(75 open)
(11 open)
(37 open)
(1 open)
(87 open)
(38 open)
   Visual Basic 
(148 open)
   Visual Basic .Net 
(84 open)
(62 open)
(30 open)
(3 open)
(34 open)
   Video Editing 
(6 open)
(44 open)
   Network Design 
(6 open)
   Network Implementation 
(16 open)
(68 open)
(177 open)
     MS Exchange 
(6 open)
     MS Office 
(19 open)
(8 open)
   Internet Browser 
(43 open)
(58 open)
(22 open)
   Hand Held/PDA Programming 
(12 open)
(15 open)
(35 open)
Testing / Quality Assurance 
(18 open)
(174 open)
   Page Design 
(92 open)
(49 open)
   Web Services 
(78 open)
   Web (Other) 
(74 open)
(14 open)
   Computer Based 
(11 open)
Other Sites

Download the free Rent A Coder IE toolbar!
Show Bid Request

Simple java routine that caluculates coordinates and draws lines
Bid Request Id: 54730
Bookmark in my 'To Do' list
Posted by: ProjectX (4 ratings)
(Software buyer rating 10)
Non-action Ratio: Above Average - 30.00%
Buyer Security Verifications: Good
Approved on: Mar 26, 2003
9:06:34 AM EDT
Bidding Closes: Mar 28, 2003
5:40:02 AM EDT
Viewed (by coders): 101 times
Deadline: 3/29/2003
100% of work was accepted by buyer. Coder account has been credited.
Max Accepted Bid: Bidding is closed
Project Type: Very Small Business Project: under $100 (USD)
Bidding Type: Open Auction
Categories: Web, Java
Enter chat room for this bid request
(0 active users at Jul 31, 2003 7:19:03 PM EDT)

We need a java routine that caluculates coordinates and draws lines.

There can be a random number of lines drawn and the result should look as in the picture.
A Link is a line drawn between two points.

The first link is drawn as a straight line and after that, all links with even index number should be drawn above the first line (with starting & end points connected to the points P1 & P2) and links with odd index number should be drawn bellow the straight line (with end&starting points connected to the points P1 & P2).

The parameters are:
* param g
* param p1 :the central point of first entity;
* param p2 :the central point of second entity;
* param linksCount :the count of links ;
* param linkDistance :the distance between links ;
* param scale :the scale of diagram, and default is 1.0;
private void drawMultilink (java.awt.Graphics g, java.awt.Point p1, java.awt.Point p2, int linksCount , int linkDistance , double scale) {
int x1=p1.x ,
y1=p1.y ,
y2=p2.y ,
int r=(int)(p1.distance(p2));
double ra=Math.atan((y2-y1)/(x2-x1+0.000001));// '+0.000001' is forbidden 'x2-x1' is zero;
g.setColor( ) ;

//draws the direct line for the first link

for(int i=0;i<linksCount;i++)

//please add your code here.
//the code should draw all links with even i (index) above the straight link (and existing links with even index)
//and links with odd i (index) bellow the straight link (and existing links with odd index).
//Because the end points must be connected to the starting/end points P1 & P2 as illustrated in the picture, actually three lines should
//be drawn for each link (excluding the first link)


1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Complete ownership and distribution copyrights to all work purchased.


Must be 100% finished and received by buyer on:
Mar 29, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.

Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
Date   Coder Rating  
This bid was accepted by the buyer!
(6 ratings)
in Alba, Romania
Bid id: 588,460
$15 (USD) Mar 26, 2003
10:49:04 AM EDT
Your project could be solved very elegant. I will solve it in a professional way ... just take my bid.

You will be very satisfied.

I will comment it very well, and will be well understandable.

I will solve it in Java and will have a nice graphic user interface done with JavaSwing (if you want). I have solved a lot of programs more complicated then your.

Your program will be finished very very soon, I have enough experience to finish your project in one hour.

Nick, ... your devoted coder :)

  See 14 private reply(ies)
to/from NickyRo.

Bid Request Search
 Advanced Search
Newest Open Work
Latest News  


Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
Top Coders.

Anuj Gakhar
Rated a 9.96 on 104 jobs 
Rated a 9.96 on 114 jobs 
Rated a 9.83 on 81 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
Rated a 9.97 on 151 jobs 
Michael Sharp
Rated a 9.98 on 182 jobs 
Rated a 9.93 on 38 jobs 
Rated a 10 on 22 jobs 
Rated a 9.93 on 67 jobs 
Maxnet Technologi es Private Limited
Rated a 9.92 on 75 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:


Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.