There seem to be a number of questions on how to
1> get smooth scrolling
2> use tile maps
3> use full screen
4> etc…
So I thought this example code might help in all of these areas.
http://www.scottshaver2000.com/files/scrollerexample.zip
You need to unzip it and then cd into the scroller directory and type:
java -cp . com.sas.planetation.examples.MapDisplayExample
Use the cursor keys to scroll around the map and the ‘Q’ key to exit the program.
Update: I just tried this at work with an NIVIDIA RIVA TNT2 Model 64 and the scrolling isn’t very smooth, in fact it is awful. Strange given that I had it perfectly smooth on my home machine with the same card before I upgraded to a GeForce4. Must be a driver issue.