1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
diff -ur tuprolog-1.3.0.orig/src/alice/tuprologx/ide/AWTFrameLauncher.java tuprolog-1.3.0/src/alice/tuprologx/ide/AWTFrameLauncher.java
--- tuprolog-1.3.0.orig/src/alice/tuprologx/ide/AWTFrameLauncher.java 2005-06-08 09:05:34.000000000 +1200
+++ tuprolog-1.3.0/src/alice/tuprologx/ide/AWTFrameLauncher.java 2006-10-07 13:43:24.000000000 +1300
@@ -88,7 +88,7 @@
height = Math.min(height, screenSize.height);
setBounds((screenSize.width - width) / 2, (screenSize.height - height) / 2, width, height);
}
- show();
+ setVisible(true);
}
public void update(Graphics g) {
diff -ur tuprolog-1.3.0.orig/src/alice/tuprologx/ide/Applet.java tuprolog-1.3.0/src/alice/tuprologx/ide/Applet.java
--- tuprolog-1.3.0.orig/src/alice/tuprologx/ide/Applet.java 2005-06-08 09:05:32.000000000 +1200
+++ tuprolog-1.3.0/src/alice/tuprologx/ide/Applet.java 2006-10-07 13:44:04.000000000 +1300
@@ -41,7 +41,7 @@
ide.removeWindowListener(listeners[i]);
ide.pack();
- ide.show();
+ ide.setVisible(true);
}
} // end Applet class
\ No newline at end of file
diff -ur tuprolog-1.3.0.orig/src/alice/tuprologx/ide/DotNetIOManager.java tuprolog-1.3.0/src/alice/tuprologx/ide/DotNetIOManager.java
--- tuprolog-1.3.0.orig/src/alice/tuprologx/ide/DotNetIOManager.java 2005-06-08 09:05:38.000000000 +1200
+++ tuprolog-1.3.0/src/alice/tuprologx/ide/DotNetIOManager.java 2006-10-07 13:49:09.000000000 +1300
@@ -46,7 +46,7 @@
FileDialog dialog = new FileDialog(parent, "Load Theory", FileDialog.LOAD);
dialog.setDirectory(currentLoadDirectory);
dialog.setFile("*.pro");
- dialog.show();
+ dialog.setVisible(true);
String directory = dialog.getDirectory();
currentLoadDirectory = directory;
String fileName = dialog.getFile();
@@ -61,7 +61,7 @@
public String saveTheoryAs(Prolog engine) throws Exception {
FileDialog dialog = new FileDialog(parent, "Save Theory As...", FileDialog.SAVE);
dialog.setDirectory(currentSaveDirectory);
- dialog.show();
+ dialog.setVisible(true);
String directory = dialog.getDirectory();
currentSaveDirectory = directory;
String fileName = dialog.getFile();
diff -ur tuprolog-1.3.0.orig/src/alice/tuprologx/ide/GUILauncher.java tuprolog-1.3.0/src/alice/tuprologx/ide/GUILauncher.java
--- tuprolog-1.3.0.orig/src/alice/tuprologx/ide/GUILauncher.java 2005-06-08 09:05:36.000000000 +1200
+++ tuprolog-1.3.0/src/alice/tuprologx/ide/GUILauncher.java 2006-10-07 13:49:37.000000000 +1300
@@ -74,7 +74,7 @@
private void launchDotNetGUI() {
DotNetIDE ide = new DotNetIDE();
ide.pack();
- ide.show();
+ ide.setVisible(true);
}
/**
diff -ur tuprolog-1.3.0.orig/src/alice/util/thinlet/Thinlet.java tuprolog-1.3.0/src/alice/util/thinlet/Thinlet.java
--- tuprolog-1.3.0.orig/src/alice/util/thinlet/Thinlet.java 2005-06-08 09:05:34.000000000 +1200
+++ tuprolog-1.3.0/src/alice/util/thinlet/Thinlet.java 2006-10-07 13:48:00.000000000 +1300
@@ -1,4 +1,4 @@
-/* ��������
+/* ����
Thinlet GUI toolkit - www.thinlet.com
Copyright (C) 2002 Robert Bajzat (robert.bajzat@thinlet.com)
@@ -2157,7 +2157,7 @@
*
* @return true as focus-transverable component, overwrites the default false value
*/
- public boolean isFocusTraversable() {
+ public boolean isFocusable() {
return true;
}
|