I\'m a .Net developer but somehow I was task to create a simple application in java for some extra reason. I was able to create that application but my problem is how can i cent
Actually, you dont really have to code to make the form get to centerscreen.
Just modify the properties of the jframe
Follow below steps to modify:
FormSize
policy to - generate resize codeYou're done. Why take the pain of coding. :)