aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Simple get-it-started sample program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Simple get-it-started sample program" Watch "Simple get-it-started sample program" New topic
Author

Simple get-it-started sample program

Castor Tack
Ranch Hand

Joined: Dec 06, 2010
Posts: 31
Hello all:

Where can I find a simple GUI program that does the following thing:
1. contain some object (object's details like shape, color, don't matter, It can be a circle, square, line, whatever)
2. user can select the object by clicking on it
3. user can drag the object and move it while clicking on it

I just want a sample program to get myself started.
Thank you in advance for any inputs.

The BEST user interface design I've ever seen? --- A flush toilet.
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

Hello buddy try these codes they compile and work.. it a great source


Regards, Atul.
I came to this world on a Learner's License
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

[deleted]
Thakur Sachin Singh
Ranch Hand

Joined: Jun 15, 2010
Posts: 224

hai you both...follow the rules of this forum...Atul can give help to beginners not the complete program.


SCJP 6- 91%, IBM DB2, IBM RAD Certified
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36566
    
  16
Thakur Sachin Singh wrote:hai you both...follow the rules of this forum...Atul can give help to beginners not the complete program.
Agree. You are by no means helping anybody learn by posting lots of code like that; in fact you may be depriving him of the opportunity to learn if he simply copies the code. Don't be annoyed with me, but I have pulled rank and deleted that post. Please avoid giving a complete answer like that.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36566
    
  16
This thread would sit better on our GUIs forum: moving thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Simple get-it-started sample program
 
Similar Threads
newbie want to learn WebLogic
POJO object to Editable HTML tables and back
Input from JFormattedTextField
Delegation
can you teach me " this " keywords second use ?