Well we have taken a look at drawing and handling shape objects in VB.NET, why not take a look at how to draw them in Java? Note: This tutorial is assuming you already know how to setup a JFrame or a JApplet, if not that tutorial will be here sometime next week. The tutorial will [...]
Well today (December 24th) I am another year older. Here is a special, helpful tutorial for using Timers in Java! Enjoy. Threads can get confusing and multi-threading is no better. The use of timers is really easy and allows multiple to run at once, with different times without interference. The first thing needed is the [...]
I got a email asking how to do collision detection in Java. While i’m at it, I might as well review collision detection in VB.NET, that was used for the gravity example (http://bncapps.com/?p=91) Visual Basics .NET If Object1.IntersectsWith(Object2) Then ‘do whatever End If Object1 and Object2 can be anything from labels or shapes. [...]
Here is the first applet released on BncApps, Tic Tac Toe! It was originally designed to load and save high scores from a text file until I realized that can not be done in applets. The code made to save and reload based on arraylists and buffer readers is there but it will not work [...]