January 12th, 2003, 02:21 PM
Help creating graphical stand-alone java program
I need help creating a graphical stand-alone java program. The program I will create will have a small area in it which will have 12 different pegs. I will need to drag the pegs from the small area and place them on a checker-style board. I will also need to be able to measure the distance between all the pegs once placed on the board. Is this hard to do in Java? I have worked with Java before but not with the grahical part (drawing). Is there a library that would help me create my program?
January 13th, 2003, 09:47 AM
January 14th, 2003, 05:48 AM
what you can do is have a look in "java.awt" and "javax.swing" packages.
AWT is a lightweigth (and ugly ) framework for GUI applications
Swing is nicer, fully customizable and more heavy than AWT, but now is the standard for developing apps in Java.
also have a look here for some tutorials on Swing.