Report as inappropriate.
An example of embedding JComponents into your world canvas - I included some example ones (a few buttons and a label that gets edited by one of them).
I created and included the dot and car just to highlight when the scenario is running and when it is stopped. The dot is actually quite a nice chunk of code in my opinion, so feel free to use that code aswell :)
But yeah, for those people who always ask about using swing components, here is an alternative answer to the "Just create the components yourself in Greenfoot or use some of the pre-made collections available" answer.
Want to leave a comment? You must first log in.
No votes yet.