本文整理了Java中javax.swing.JInternalFrame.dispatchEvent()
方法的一些代码示例,展示了JInternalFrame.dispatchEvent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JInternalFrame.dispatchEvent()
方法的具体详情如下:
包路径:javax.swing.JInternalFrame
类名称:JInternalFrame
方法名:dispatchEvent
暂无
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/skinlf
/**
* Description of the Method
*
* @param event Description of Parameter
*/
public void dispatchEvent(AWTEvent event) {
frame.dispatchEvent(event);
}
代码示例来源:origin: khuxtable/seaglass
/**
* Post a WINDOW_CLOSING-like event to the frame, so that it can be treated
* like a regular Frame.
*
* @param frame the internal frame to be closed.
*/
protected void postClosingEvent(JInternalFrame frame) {
InternalFrameEvent e = new InternalFrameEvent(frame, InternalFrameEvent.INTERNAL_FRAME_CLOSING);
// Try posting event, unless there's a SecurityManager.
if (JInternalFrame.class.getClassLoader() == null) {
try {
Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(e);
return;
} catch (SecurityException se) {
// Use dispatchEvent instead.
}
}
frame.dispatchEvent(e);
}
内容来源于网络,如有侵权,请联系作者删除!