Hi! I have another naive question: how to maximize a JFrame in code, just like when the user click the maximize button on the upperright cornor of the JFrame? thanks! Alvin