#I didnt get coordinates on JPanel
10 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @spice mural! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
it says top left corner based
but i texted 0 to x
how is the top left corner's x variable is 0
isnt it negative or smth
coordinate system
(0,0) is always the top left corner of any component. There are no negative values for x and y. The ccordinate system of the component starts at its top left corner and not in its center.