Thread
:
JFrame at Center Screen
View Single Post
#
3
(
permalink
)
11-02-2007, 06:43 PM
hardwired
Senior Member
Join Date: Jul 2007
Posts: 1,222
If you are using j2se 1.4+ you have access to the Window method
setLocationRelativeTo(Component c)
. Use null for the argument to center your top–level container.
hardwired
View Public Profile
Send a private message to hardwired
Find all posts by hardwired