File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes problem in getPosition and setPosition...... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "problem in getPosition and setPosition......" Watch "problem in getPosition and setPosition......" New topic
Author

problem in getPosition and setPosition......

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2
Cpoint.java



Main.java



code is working, my question is why and how we use getPosition() and setPosition(), however

System.out.println(this.getPosition()); this can be done using this also System.out.println(x);

and also is something wrong i m doing here to implement these two methods..?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in getPosition and setPosition......