File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple get-it-started sample program

 
Castor Tack
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello buddy try these codes they compile and work.. it a great source
 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[deleted]
 
Thakur Sachin Singh
Ranch Hand
Posts: 242
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai you both...follow the rules of this forum...Atul can give help to beginners not the complete program.
 
Campbell Ritchie
Sheriff
Pie
Posts: 47229
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 47229
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread would sit better on our GUIs forum: moving thread.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic