So, I've been working on my map editor for a little while now, in os x 10.7, but yesterday while I was waiting to play the next game here at the lan I'm at, I installed eclipse on my windows partition so I could code a little more on it. But when I started it, the tiles were all 1 off. As in 32 pixels off on the y-axis. :s Anyone know why there's that weird difference? (It's also rendering less tiles than in os x)

Are you sizing the window during initialization, or are you sizing the canvas/panel/whatever inside the window? If you're sizing the window, the size parameters will include decorations such as the border and title. Since windows and os x have different sized decorations, that could cause your ceil() computations to get off.

The same problems as before. It doesn't align up in both windows and osx. Plus it doesn't align up when I resize the window either. Which would be awesome if it did. I tried with setPreferredSize(), but that gives the same issues. :/

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org