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 hi...@apache.org on 2001/04/18 19:31:55 UTC
cvs commit: xml-batik/sources/org/apache/batik/apps/svgbrowser JSVGViewerFrame.java
hillion 01/04/18 10:31:55
Modified: sources/org/apache/batik/apps/svgbrowser
JSVGViewerFrame.java
Log:
Added a piece of code which has missed the migration from the viewer to
the browser :)
Revision Changes Path
1.22 +6 -1 xml-batik/sources/org/apache/batik/apps/svgbrowser/JSVGViewerFrame.java
Index: JSVGViewerFrame.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/apps/svgbrowser/JSVGViewerFrame.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- JSVGViewerFrame.java 2001/04/18 13:50:59 1.21
+++ JSVGViewerFrame.java 2001/04/18 17:31:52 1.22
@@ -128,7 +128,7 @@
* This class represents a SVG viewer swing frame.
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
- * @version $Id: JSVGViewerFrame.java,v 1.21 2001/04/18 13:50:59 hillion Exp $
+ * @version $Id: JSVGViewerFrame.java,v 1.22 2001/04/18 17:31:52 hillion Exp $
*/
public class JSVGViewerFrame
extends JFrame
@@ -339,6 +339,11 @@
*/
public JSVGViewerFrame(Application app) {
application = app;
+
+ String s = Locale.getDefault().getLanguage();
+ if (!userLanguages.equals(s)) {
+ userLanguages = s + "," + userLanguages;
+ }
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org