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 Swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing" Watch "Swing" New topic
Author

Swing

Friend
Ranch Hand

Joined: Nov 23, 2000
Posts: 67
Hi,
It will be a greate help for me if you give a solution for my problem.
It is an area reservation problem. For this I am using swing components i.e., TextPane,InternalFrame. Using this InternalFrame (by dragging and resizing) ,the resrving area will be painted. And the points of reserving area will be stored in the database. Another person wants to reserve an area. He place the InternalFrame where another person already booked. When he place the InternalFrame there the pionts of that area will be checked with the database .
My problem is the checking problem. When he place the internalFrame anywhere on the painted area, there should not be painted. There are so many cases related to this checking. I cannot find a solution mainly to this case i.e., when the InternalFrame(by resizing the InternalFrame) cover the painted area, how the co-ordinates will be checked?
If you cannot give me the solution or you want a much more clear idea please inform me.
If it not your part of answering this type of questions please write to me from where I get a solution to this type problems?
Thank you.
Jyotsna.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Swing