Jhedzkie Skies wrote:but i dont have any idea on how to maximize it. please help...
Maneesh' link will be better for you in this case, but for future reference, check out Frame.setExtendedState and Frame.getExtendedState. This state is a bitwise OR of several states, so to maximize and restore it do the following: