Hi,
I'm building a snakes&ladders game in java.
so far i have the model ready, i'd like to make the UI in swing.
my problem is to paint the dynamic board using swing,
i need to paint a snake/ladder from one square to another,
the problem is that so far i can only use graphics objects and lines,
i'd like to paint something a bit more realistic (such as a snake/ladder picture).
Does anyone has an idea on how to paint a dynamic size picture
of a snake/ladder (which could be straight or diagonally).

Thanks.

Look at the java api for Graphics2D. In there you can paint an image at a certain location. Hope that helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.