I have an internalframe, i want to create an evenet
private void errorTableMouseClicked(java.awt.event.MouseEvent evt) {
PaneDialog dlg = new PaneDialog(**this**,true);
}
now the PaneDialog is an JDialog, i cant put the constructor "this" cus "this" is InternalFrame so Netbeans shows an error incompatible types, PaneDiaglog can not be converted to Frame, how i call the JDialog in internalframe?