codice:
JFrame window = new JFrame();
window.isResizable(false);