#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2002
    Posts
    66
    Rep Power
    12

    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?

    Zack
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2002
    Posts
    66
    Rep Power
    12
    Anyone??
  4. #3
  5. php-oriented object
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    0x9832053
    Posts
    173
    Rep Power
    13
    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.

    have fun

IMN logo majestic logo threadwatch logo seochat tools logo