A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

Java Programming - GUI

1.1k views · started by helldana ·
#1
Java Programming - GUI
Hello, I'm looking for any Java programmers that can help me on this, I need to make an application similar to the image below but I need some tips on how to make one from you guys.

Some explanation on the application:
-Drag drop shape into the drawing panel
-Option for fill/not filled shapes
-Reduce/increase size by half/double
-Clear drawing panel
-Navigate shape horizontally/vertically using navigation button or by pressing [< ^ v >] keys on the keyboard.
-'A' button to switch 'ON' or 'OFF' the AUTO mode that enables the shape to move by itself horizontally on the drawing panel if touches the drawing panel.



I do have basic knowledge on AWT and Swing, roughly about only making basic frames and stuffs.
Have hardly touched on Event classes yet though.
#2
Can't help you this time dana, I hate AWT and Swing.
But it looks like you've come a long way from the last time we talked Java.

:) Nice going
#3
Isonyx wrote:
Can't help you this time dana, I hate AWT and Swing.
But it looks like you've come a long way from the last time we talked Java.

:) Nice going


Thanks. I have to thank my lecturers for introducing Java to me, although I hate AWT and Swing too. ;C
#4
the drag n' drop is beyond me.

i found the head first java book to be a good reference when i was trying to work this out.

quite a bit of work to get all done.
#5
Drag and drop? On mouse down, find object at x/y coordinates, drag=true. On mouse move, if drag=true, move previous object. on mouse up, drag=false.