This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one 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.