You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by de...@apache.org on 2002/08/26 21:16:04 UTC
cvs commit: xml-batik/sources/org/apache/batik/util XMLResourceDescriptor.java
deweese 2002/08/26 12:16:04
Modified: sources/org/apache/batik/apps/slideshow Main.java
sources/org/apache/batik/util XMLResourceDescriptor.java
Log:
1) Setting the CSS parser now sets CSS Parser (not XML Parser :).
2) Slide show app now works when given only one file.
PR: 11858, 12039,
Submitted by: sseifert@pro-vision.de (Stefan Seifert) [11858]
Revision Changes Path
1.3 +5 -5 xml-batik/sources/org/apache/batik/apps/slideshow/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/apps/slideshow/Main.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Main.java 18 Sep 2001 21:18:59 -0000 1.2
+++ Main.java 26 Aug 2002 19:16:04 -0000 1.3
@@ -74,9 +74,6 @@
loader = new DocumentLoader(userAgent);
ctx = new BridgeContext(userAgent, loader);
- Thread t = new RenderThread();
- t.start();
-
boolean frameless = false;
if (size == null) {
size = Toolkit.getDefaultToolkit().getScreenSize();
@@ -99,6 +96,9 @@
display = new BufferedImage(size.width, size.height,
BufferedImage.TYPE_INT_BGR);
+ Thread t = new RenderThread();
+ t.start();
+
JWindow w = new JWindow();
w.setBackground(Color.black);
w.getContentPane().setBackground(Color.black);
@@ -183,7 +183,7 @@
c = new Cursor(Cursor.DEFAULT_CURSOR);
if (transitionThread != null) {
synchronized (transitionThread) {
- transitionThread.notify();
+ transitionThread.notifyAll();
}
}
}
@@ -269,7 +269,7 @@
synchronized (Main.this) {
transitionThread = null;
- Main.this.notify();
+ Main.this.notifyAll();
}
}
}
1.3 +2 -2 xml-batik/sources/org/apache/batik/util/XMLResourceDescriptor.java
Index: XMLResourceDescriptor.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/util/XMLResourceDescriptor.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLResourceDescriptor.java 18 Mar 2002 10:28:27 -0000 1.2
+++ XMLResourceDescriptor.java 26 Aug 2002 19:16:04 -0000 1.3
@@ -104,6 +104,6 @@
* @param cssParserClassName the classname of the CSS parser
*/
public static void setCSSParserClassName(String cssParserClassName) {
- XMLResourceDescriptor.cssParserClassName = xmlParserClassName;
+ XMLResourceDescriptor.cssParserClassName = cssParserClassName;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org