bryce4president
11-13-2007, 11:41 AM
I have a JSP in which I have a table. The user can click on the first element of the table and its onclick even launches a popup window with information about the thing they clicked on. What I want to do is have the popup window open up in relation to the click.
When they click the cell, I want the top left corner of the popup window to be positioned where they clicked. To do this I was looking into the java.awt.MouseInfo stuff. But it seems I need to create a container for this? Does that mean that the entire webpage would have to be inside a container in order to use this?
The page is intermixed java and html. I'm just looking for some direction on this. Can I just used the page itself as a container without having to explicitly create the page inside of a container? I'm completely new to this type of implementation in java so any help will be appreciated...
Thanks in advance...
When they click the cell, I want the top left corner of the popup window to be positioned where they clicked. To do this I was looking into the java.awt.MouseInfo stuff. But it seems I need to create a container for this? Does that mean that the entire webpage would have to be inside a container in order to use this?
The page is intermixed java and html. I'm just looking for some direction on this. Can I just used the page itself as a container without having to explicitly create the page inside of a container? I'm completely new to this type of implementation in java so any help will be appreciated...
Thanks in advance...