Question about coordinates
I just finished making a simple beginning applet that just displayed the message,"Welcome
to Java Programming", and drew a line above the text and another line below
the text. The coordinates for the top line were(15, 10) and the coordinates
for the bottom line were(15, 30). My question is shouldn't it really be listed
as(15, -30). If you move down the y-axis you move in a negative direction.
Seems to me the y coordinate for the bottom line should be listed as -30.
Can anyone clear this up?
Re: Question about coordinates
in java the x is regular, but the y is backwards. the (0,0) spot is the
top-left corner of the screen. Why? Heck if I know.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL