*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
how to compare if object exists in arraylist and add if doesn't
PDF in the background of the Panel (Experts only)
Interchanging Database columns as rows while displaying in a JTable
checkboxes from a query , How to ?????
is it possible