Hi Leute,
hat man irgendwie die Möglichkeit einen JDialog in einem Frame anzeigen zu lassen? Ich hab es mal probiert und bei mir kommt die Meldung: Exception in thread "main" java.lang.IllegalArgumentException: adding a window t
o a container.
Codeausschnitt(JFrame):
Danke im Vorraus,
ColdSharp
hat man irgendwie die Möglichkeit einen JDialog in einem Frame anzeigen zu lassen? Ich hab es mal probiert und bei mir kommt die Meldung: Exception in thread "main" java.lang.IllegalArgumentException: adding a window t
o a container.
Codeausschnitt(JFrame):
Code:
...
JDialog d = new JDialog(this);
d.setTitle("Der Titel");
d.setSize(200, 200);
getContentPane().add(d);
...
Danke im Vorraus,
ColdSharp