Results 1 to 3 of 3
Thread: Help with Move Shape
- 07-17-2007, 04:32 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 26
- Rep Power
- 0
Help with Move Shape
I have been able to create simple forms that can accept and store user entered data, as well as perform multiple actions through the use of buttons. No Problem.
Next I would like to work with drawing shapes and giving the user the ability to interact with them. This is where I’ve hit a wall.
This is probably very simple just not sure where to start (aside from “googling”). Basically all I am trying to do is:
- Have a window pop-up with a rectangle in it.
- Allow the user to move that rectangle anywhere within that window.
I have been searching the net but all the examples seem to go way above and beyond what I am after…
Just looking for something to get the ball rolling.
Can someone point me to some simple tutorials that perform the above, or provide some code?
Currently researching different packages that may be useful/required.
Thanks.
- 08-07-2007, 06:27 AM #2
Member
- Join Date
- Jul 2007
- Posts
- 40
- Rep Power
- 0
Just found a good site with some example code...
Move Shape with mouse : Mouse : Event : Java examples (example source code) Organized by topic
Greetings.
- 12-09-2010, 04:25 AM #3
Member
- Join Date
- Nov 2010
- Posts
- 23
- Rep Power
- 0
Similar Threads
-
implementing shape
By sidkdbl07 in forum Java 2DReplies: 1Last Post: 01-12-2008, 07:42 PM -
weird looking shape JButton is it possible?
By unhurt in forum AWT / SwingReplies: 8Last Post: 11-03-2007, 10:10 AM -
tool to create shape frame
By boy22 in forum AWT / SwingReplies: 1Last Post: 08-05-2007, 05:10 AM -
How to Move a File to Another Directory
By Ada in forum New To JavaReplies: 1Last Post: 05-26-2007, 02:17 PM -
How to change shape of JButton
By FaRuK in forum AWT / SwingReplies: 1Last Post: 05-19-2007, 01:56 PM
Bookmarks