An understatement, but I assume your thinking evolved.
There are several tutorials available on the web that show how to access modern databases from Java. You might start with Oracle's own...
Type: Posts; User: GregBrannon
An understatement, but I assume your thinking evolved.
There are several tutorials available on the web that show how to access modern databases from Java. You might start with Oracle's own...
It appears you've posted the request for help in multiple places, known as cross posting. Cross posting is okay here, but it is requested that you provide a link to the other post(s).
I recommend...
How were the hardcoded values determined? Can they be calculated or derived mathematically somehow, perhaps from an initial point using knowledge of the shape being drawn and its width, height, etc.?