Skip to content
Browse files

Compiled for 32 bit OSX

  • Loading branch information...
1 parent 692a926 commit 665c3b1719b90a010f85b7b4fba46771c01104b0 @dren-dk committed Mar 15, 2012
View
1 .gitignore
@@ -0,0 +1 @@
+build
View
BIN native-lib/hunspell-darwin-x86-32.jnilib
Binary file not shown.
View
BIN native-lib/libhunspell-linux-x86-64.so
Binary file not shown.
View
28 src/dk/dren/hunspell/HunspellMain.java
@@ -4,9 +4,6 @@
import java.util.Iterator;
import java.util.ListIterator;
-import javax.swing.JFrame;
-import javax.swing.JLabel;
-
/**
* Simple testing and native build utility class, not useful in applications.
*
@@ -18,24 +15,11 @@
public class HunspellMain {
- static JFrame frame;
- static JLabel label;
- static String output;
private static void println(String msg) {
System.err.println(msg);
- if (frame != null) {
- output += msg + "<br>";
- label.setText("<html>"+output+"</html>");
- frame.pack();
- }
}
private static void print(String msg) {
System.err.print(msg);
- if (frame != null) {
- output += msg;
- label.setText("<html>"+output+"</html>");
- frame.pack();
- }
}
public static void main(String[] args) {
@@ -45,18 +29,6 @@ public static void main(String[] args) {
} else {
- try {
- frame = new JFrame("Testing Hunspell");
- frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- label = new JLabel("Output from Hunspell...");
- output = "";
- frame.getContentPane().add(label);
- frame.pack();
- frame.setVisible(true);
- } catch (Exception e) {
- frame = null;
- }
-
System.err.println("Loading Hunspell");
String dir = "/home/ff/projects/hunspell-java";
if (System.getProperties().containsKey("root")) {

0 comments on commit 665c3b1

Please sign in to comment.
Something went wrong with that request. Please try again.