It takes a text file as input and outputs all the words in that file in alphabetical order, one word per line, ignoring duplicates. [cc lang=”java” tab_size=”2″ lines=”105″] import java.io.*; import java.util.*; public class Dictionary { public static void main(String[] args) { try{ FileReader fr = new FileReader(“words.txt”); BufferedReader br = new BufferedReader(fr); String s;…
Java – How to add a spell checker to Swing GUI text components JOrtho Library and Wikitionary Dictionaries
This tutorial uses JOrtho, a Java based spell checker, to implement a spell checker in a Swing based application. We are going to use an English dictionary throughout this guide, though other languages are available by downloading your language dictionary from http://www.wiktionary.org/ JOrtho (Java Orthography) is an Open Source spell-checker entirely written in Java. Its…
Ten Time-Savers in NetBeans
The NetBeans IDE(Integrated Development Environment) has come a very, very long way. Our Java curriculum development group uses this tool everyday in the development of training materials and NetBeans is the default development environment for students. As a result, we have compiled a set of ten time saving features that we thought you ought to…
How To Edit Your PATH Environment Variables On Mac OS X
If you are new to Mac OS X, you may need to know how to edit your PATH. The good news is that this is an easy task on Mac OS X. The recommended way is by editing your .bash_profile file. This file is read and the commands in it executed by Bash every time…
How to dispose of a body like a pro
If you type 52.376552,5.198303 into Google Maps, you will find a man dragging a body into the lake. [obviously fake] But you shouldn’t get caught like the guys in the foto, so here is an way to do it like a pro I found somewhere on the net. First, be smart from the very beginning….
Software Development…so true
NOWHERE (2009) dedicated for Pina BAUSCH
Surreal Daliesque Animation
Plebiscite
plebiscite |ˈplɛbɪsʌɪt, -sɪt| noun the direct vote of all the members of an electorate on an important public question such as a change in the constitution. the administration will hold a plebiscite for the approval of constitutional reforms. • Roman History a law enacted by the plebeians’ assembly. DERIVATIVES plebiscitary |-ˈbɪsɪt(ə)ri| adjective ORIGIN mid 16th…