Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

We're much better with standard Java SE classes, so you'll have to give us...