JInternalFrame public JInternalFrame(String title, boolean resizable, boolean closable, boolean maximizable)Creates a non-iconifiable JInternalFrame with the specified title, resizability, closability, and maximizability. Parameters: title - the String to display in the title bar resizable - if true, the internal frame can be resized closable - if true, the internal frame can be closed maximizable - if true, the internal frame can be maximized 这个应该能满足你的需要
好像是这个。
public void setUndecorated(boolean undecorated)禁用或启用此 frame 的装饰。只有在 frame 不可显示时才调用此方法。
我现在想要把界面里的最小化\最大化\关闭都消失(vb中可以),不知道用什么方法?
void windowIconified(WindowEvent e)
不知道重写这两个方法行不?
public JInternalFrame(String title,
boolean resizable,
boolean closable,
boolean maximizable)Creates a non-iconifiable JInternalFrame with the specified title, resizability, closability, and maximizability. Parameters:
title - the String to display in the title bar
resizable - if true, the internal frame can be resized
closable - if true, the internal frame can be closed
maximizable - if true, the internal frame can be maximized
这个应该能满足你的需要