Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed DJNativeSwing error message about static initializers, by movin…

…g main() to a different class
  • Loading branch information...
commit 198affcd195ba5356d8b6971d9c64fff8cafa82e 1 parent 681d54d
Jonathan Stray authored
View
2  overview.bat
@@ -2,4 +2,4 @@
set BASEDIR=%~dp0
set CLASSPATH=%BASEDIR%visualization\lib
-java -classpath %CLASSPATH% -Xmx1500m -cp %CLASSPATH%;%CLASSPATH%\snappy.jar;%CLASSPATH%\DJNativeSwing-SWT.jar;%CLASSPATH%\DJNativeSwing.jar;%CLASSPATH%\js.jar;%CLASSPATH%\core.jar;%CLASSPATH%\windows\swt.jar;%CLASSPATH%\opencsv-2.3.jar snappy.ui.Snappy -N %1-terms.vec -Z %1-featurenames.csv -U %1-urls.csv
+java -classpath %CLASSPATH% -Xmx1500m -cp %CLASSPATH%;%CLASSPATH%\snappy.jar;%CLASSPATH%\DJNativeSwing-SWT.jar;%CLASSPATH%\DJNativeSwing.jar;%CLASSPATH%\js.jar;%CLASSPATH%\core.jar;%CLASSPATH%\windows\swt.jar;%CLASSPATH%\opencsv-2.3.jar snappy.ui.mainHolder -N %1-terms.vec -Z %1-featurenames.csv -U %1-urls.csv
View
2  overview.sh
@@ -2,4 +2,4 @@
BASEDIR=`dirname $0`
CLASSPATH=$BASEDIR/visualization/lib
-java -classpath $CLASSPATH -XstartOnFirstThread -Xmx1500m -cp $CLASSPATH/.:$CLASSPATH/snappy.jar:$CLASSPATH/DJNativeSwing-SWT.jar:$CLASSPATH/DJNativeSwing.jar:$CLASSPATH/js.jar:$CLASSPATH/core.jar:$CLASSPATH/swt.jar:$CLASSPATH/opencsv-2.3.jar snappy.ui.Snappy -N $1-terms.vec -Z $1-featurenames.csv -U $1-urls.csv
+java -classpath $CLASSPATH -Xmx1500m -cp $CLASSPATH/.:$CLASSPATH/snappy.jar:$CLASSPATH/DJNativeSwing-SWT.jar:$CLASSPATH/DJNativeSwing.jar:$CLASSPATH/js.jar:$CLASSPATH/core.jar:$CLASSPATH/swt.jar:$CLASSPATH/opencsv-2.3.jar snappy.ui.mainHolder -N $1-terms.vec -Z $1-featurenames.csv -U $1-urls.csv
View
BIN  visualization/lib/snappy.jar
Binary file not shown
View
BIN  visualization/src/snappy/ui/Snappy$2.class
Binary file not shown
View
BIN  visualization/src/snappy/ui/Snappy.class
Binary file not shown
View
14 visualization/src/snappy/ui/Snappy.java
@@ -653,20 +653,6 @@ public void paintComponent( Graphics g ) {
this.pack();
this.setVisible(true);
}
-
- public static void main( final String[] args ) {
-
- NativeInterface.open();
- javax.swing.SwingUtilities.invokeLater(new Runnable() {
- Snappy snappy = null;
- public void run() {
-
- snappy = new Snappy(args);
-// snappy.setSize(new Dimension(1024,700));
- }
- } );
- NativeInterface.runEventPump();
- }
@Override
public void stateChanged(ChangeEvent arg0) {
Please sign in to comment.
Something went wrong with that request. Please try again.