Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 62743 invoked from network); 16 Jan 2006 00:30:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jan 2006 00:30:41 -0000 Received: (qmail 67465 invoked by uid 500); 16 Jan 2006 00:30:40 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 67440 invoked by uid 500); 16 Jan 2006 00:30:39 -0000 Mailing-List: contact batik-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-users@xmlgraphics.apache.org Delivered-To: mailing list batik-users@xmlgraphics.apache.org Received: (qmail 67429 invoked by uid 99); 16 Jan 2006 00:30:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2006 16:30:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of boyeric@gmail.com designates 64.233.184.199 as permitted sender) Received: from [64.233.184.199] (HELO wproxy.gmail.com) (64.233.184.199) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2006 16:30:39 -0800 Received: by wproxy.gmail.com with SMTP id i1so1036104wra for ; Sun, 15 Jan 2006 16:30:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FdbM+p275Fmb231gyrRii65SgaU7q40sTwvpJgJv1tEvDOvN8/s01pGmJaGF4ecuzOb/+GMr/c7z1/l/IU2Q+h+qjbEClIAve/O2JwhcJDKLItCSONDOb8tYRcDWCPsWR21Rb5Si7n0j5MLgbHB237Vh0sN8pBHUmp1w3FqK5Oc= Received: by 10.65.205.8 with SMTP id h8mr2517522qbq; Sun, 15 Jan 2006 16:30:18 -0800 (PST) Received: by 10.64.179.15 with HTTP; Sun, 15 Jan 2006 16:30:18 -0800 (PST) Message-ID: Date: Mon, 16 Jan 2006 01:30:18 +0100 From: Eric Yuan To: batik-users@xmlgraphics.apache.org Subject: (Dummy) How to start batik browser from java source code? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all dudes, This is just a dummy question from a beginner. actually what i need is a graphical tool for the "Travelling Salesman Problem" (TSP), it is graphically simple, only some nodes and arcs. mission is to visualize how e.g. a greedy algorithm is gonna select every next node, by showing a short movie or by interacting with mouse clicks. one possible way is, during running my java source code for TSP, call batik consecutively to display the state of the graph at each step. questions are: 1, i can generate a svg file in java, but after that, how can i start the batik browser from java source? i know the way to start it from command line with "java -jar ...", but is there a way to call it from inside? 2, if the svg graph is only slightly changed, e.g. change the color of only one arc, do i have to regenerate a new svg file and restart the browser again? is there a faster way? or, is there some other better ways, e.g. would batik_slideshow possibly help in this case? Many thanks! Eric p.s. is there an svg tag showing directed arcs (with arrows)? --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org