This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.