summaryrefslogtreecommitdiff
blob: 614b2f2a1ed06b2fef1c1fc3a6842f01cace50bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -ur interprolog212.orig/com/declarativa/interprolog/examples/SudokuWindow.java interprolog212/com/declarativa/interprolog/examples/SudokuWindow.java
--- interprolog212.orig/com/declarativa/interprolog/examples/SudokuWindow.java	2005-10-20 15:14:12.000000000 +1300
+++ interprolog212/com/declarativa/interprolog/examples/SudokuWindow.java	2007-02-02 21:56:22.000000000 +1300
@@ -34,7 +34,7 @@
 		JTable board = new SudokuBoard(model);
 		
 		getContentPane().add(BorderLayout.CENTER,board);
-		pack(); show();
+		pack(); setVisible(true);
 	}
 	
 	/** An ObjectExamplePair illustrating how to pass around a matrix of basic type values */
diff -ur interprolog212.orig/com/declarativa/interprolog/gui/ListenerWindow.java interprolog212/com/declarativa/interprolog/gui/ListenerWindow.java
--- interprolog212.orig/com/declarativa/interprolog/gui/ListenerWindow.java	2005-09-15 17:57:44.000000000 +1200
+++ interprolog212/com/declarativa/interprolog/gui/ListenerWindow.java	2007-02-02 21:57:42.000000000 +1300
@@ -344,7 +344,7 @@
 	void load_dynFile(){
 		String nome,directorio; File filetoreconsult=null;
 		FileDialog d = new FileDialog(this,"load_dyn file...");
-		d.show();
+		d.setVisible(true);
 		nome = d.getFile(); directorio = d.getDirectory();
 		if (nome!=null) {
 			filetoreconsult = new File(directorio,nome);