summaryrefslogtreecommitdiffstats
path: root/src/net/java
diff options
context:
space:
mode:
authoreteq <[email protected]>2006-08-31 06:53:39 +0000
committereteq <[email protected]>2006-08-31 06:53:39 +0000
commit96d12d8ec81e1f538b7ca49ce69a0484950c87e8 (patch)
tree74cf4c75e28c5ea0736abee89dfeff32adbf941b /src/net/java
parent14ca014c822bc772b9d1d04c0a82c867e3344bfc (diff)
Switched JPanelDialog constructor from (String, JPanel) to (JPanel, String)
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@19 83d24430-9974-4f80-8418-2cc3294053b9
Diffstat (limited to 'src/net/java')
-rw-r--r--src/net/java/joglutils/JPanelDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/joglutils/JPanelDialog.java b/src/net/java/joglutils/JPanelDialog.java
index 4764986..9c108b0 100644
--- a/src/net/java/joglutils/JPanelDialog.java
+++ b/src/net/java/joglutils/JPanelDialog.java
@@ -56,7 +56,7 @@ public class JPanelDialog extends JDialog implements ActionListener{
this.setModal(false);
initLayout(inputPanel);
}
- public JPanelDialog(JPanel inputPanel, String title) {
+ public JPanelDialog(String title, JPanel inputPanel) {
super();
this.setTitle(title);
this.setModal(false);
@@ -166,7 +166,7 @@ public class JPanelDialog extends JDialog implements ActionListener{
return jpd.showAsModal();
}
public static boolean showModalDialog(JPanel panel, String title) {
- JPanelDialog jpd = new JPanelDialog(panel,title);
+ JPanelDialog jpd = new JPanelDialog(title,panel);
return jpd.showAsModal();
}
public static boolean showModalDialog(Frame parent, JPanel panel) {