0
internalFrameIconified僅在internalFrameDeiconified後才起作用嗎?
當我iconfy它diplayes最小化..它是一個Java錯誤?
我們可以在最小化之前調用最大化方法嗎?最大化內部幀
// add the intrenal window frame event..
InternalFrameListener internalFrameListener = new InternalFrameListener() {
InternalFrameEvent e;
public void internalFrameOpened(InternalFrameEvent e) {
System.out.println("Opened");
}
public void internalFrameClosing(InternalFrameEvent e) {
}
public void internalFrameClosed(InternalFrameEvent e) {
System.out.println("Closed");
}
public void internalFrameIconified(InternalFrameEvent e) {
System.out.print("Maximised");
}
public void internalFrameDeiconified(InternalFrameEvent e) {
System.out.print("Minimised");
}
public void internalFrameActivated(InternalFrameEvent e) {
System.out.println("Activated");
}
public void internalFrameDeactivated(InternalFrameEvent e) {
System.out.println("DeActivated");
}
};
interFrame.addInternalFrameListener(internalFrameListener);
@ MockerTim我很抱歉,我是一個新手,以java..Can請你解釋一下? – xyz
@ Mocker蒂姆謝謝......現在我明白了.. – xyz