How do I make a window popup in a specific location on the page? I don’t see a straightforward way of doing this, so I’m always using window.centerInPage()
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using the underlying setRect() method of Canvas: Canvas.setRect(int left, int top, int width, int height)
Remember to redraw as needed.
Or, if you’re using the GWT Window, you can achieve that by using the Window.open(String url, String target, String features) method, as specified here.