~ubuntu-branches/ubuntu/saucy/libjgraph-java/saucy

« back to all changes in this revision

Viewing changes to examples/com/jgraph/example/adapter/JGraphAdapterExample.java

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2011-02-09 18:37:22 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20110209183722-9so2kaovf53l6lx4
* New upstream release.
* debian/control: 
  - set Section to java
  - change build dependency from default-jdk-builddep to default-jdk
  - add ${misc:Depends} to Depends:.
* Change source URL in debian/copyright and debian/watch.
* Switch from dh_wraporig to repack.sh for repackaging.
* Switch to source format 3.0 (quilt).
* Set Standards-Version to 3.9.1 (no changes).
* Use debhelper 7 (debian/{rules,compat,control})
* Update patch and patch headers.
* debian/rules: don't build apidocs twice.
* debian/copyright: update years of copyright and formatting.
* Register API specification with doc-base system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: JGraphAdapterExample.java,v 1.3 2007/08/16 17:35:20 david Exp $
 
2
 * $Id: JGraphAdapterExample.java,v 1.4 2009/02/12 18:40:04 david Exp $
3
3
 * 
4
4
 * Copyright (c) 2001-2005, Gaudenz Alder
5
5
 * 
219
219
        public static void main(String[] args) {
220
220
                // Initializing backend (file-based database)
221
221
                try {
 
222
                        // Switch off D3D because of Sun XOR painting bug
 
223
                        // See http://www.jgraph.com/forum/viewtopic.php?t=4066
 
224
                        System.setProperty("sun.java2d.d3d", "false");
222
225
                        // Download the HSQLDB (org.hsqldb.jdbcDriver) or any other JDBC
223
226
                        // driver and connect this example to a real database by
224
227
                        // uncommenting the following statement (passing a connection to the