Write simple gui
This project was successfully completed by perunandrej for $30 USD in a day.Get free quotes for a project like this
Project Budget$10 - $30 USD
Completed In1 day
Simple GUI program. I don't care which language. I think JAVA is the most appropriate.
I will need the following basics, I'll continue from there.
1. Make a windowed graphic UI, with several sliders and several buttons, like in fig (1)
2. Make a function createDisk that gets (x,y,r,c,txt), and plots a disk of radius r, at position (x,y) filled with color c and a string txt in the middle of the disk.
3. The function should create the disk as an object which can be changed later. For example dis1=createDisk(1,2,1,'FF'), and then [url removed, login to view] = 'A3' it will change the color. (something like this, but with the syntax of JAVA of course).
4. Make a function drawArrow(dis1,dis2) that gets two disks and connect them with an arrow. The arrow should also have color and width and can be access later to change the color and width.
5. Make a MAIN function that plots 5 columns of 10 disks at each column.
6. Make a loop that every 5 milliseconds changes the color of a random disk to another random color.
Browse Related Skills
Other things people do on Freelancer
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online