J
Joe
package COM.xxxx.psd.cmr;
import java.awt.Toolkit;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.*;
import java.sql.*;
import java.util.*;
import javax.swing.JDialog;
import COM.xxxx.psd.common.*;
/** Printing Parameters Dialog. It will hold the printing parameters
tabs.
*/
public class PrintParameterDlg extends JDialog {
private int HEIGHT = 450;
private int WIDTH = 450;
public JPanel buttonsPanel;
public JButton doneButton;
Object target;
// ------------------
// Define main class.
// ------------------
public PrintParameterDlg(CmrServerObjectInterface handle, String
title) {
super(null, title);
initialize();
makeGUI(handle);
}
I have this error. How could I call the java.awt.Frame if I decided
to? or call java.awt.Dialog?
System\Com\xxxx\psd\cmr\PrintParameterDlg.java:43: reference to
JDialog is ambiguous, both method
JDialog(java.awt.Frame,java.lang.String) in javax.swing.JDialog and
method JDialog(java.awt.Dialog,java.lang.String) in
javax.swing.JDialog match
super(null, title);
import java.awt.Toolkit;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.*;
import java.sql.*;
import java.util.*;
import javax.swing.JDialog;
import COM.xxxx.psd.common.*;
/** Printing Parameters Dialog. It will hold the printing parameters
tabs.
*/
public class PrintParameterDlg extends JDialog {
private int HEIGHT = 450;
private int WIDTH = 450;
public JPanel buttonsPanel;
public JButton doneButton;
Object target;
// ------------------
// Define main class.
// ------------------
public PrintParameterDlg(CmrServerObjectInterface handle, String
title) {
super(null, title);
initialize();
makeGUI(handle);
}
I have this error. How could I call the java.awt.Frame if I decided
to? or call java.awt.Dialog?
System\Com\xxxx\psd\cmr\PrintParameterDlg.java:43: reference to
JDialog is ambiguous, both method
JDialog(java.awt.Frame,java.lang.String) in javax.swing.JDialog and
method JDialog(java.awt.Dialog,java.lang.String) in
javax.swing.JDialog match
super(null, title);