jQuery in Action, 3rd edition
The moose likes Game Development and the fly likes Not exactly a Game but a Dictionary Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "Not exactly a Game but a Dictionary" Watch "Not exactly a Game but a Dictionary" New topic

Not exactly a Game but a Dictionary

sandeeprajsingh tandon
Ranch Hand

Joined: Mar 06, 2009
Posts: 79
Hi All,
For my college project, i need to prepare a small dictionary (X language to English for roughly 200 words) which is a desktop application.

I have the following questions
1) I plan to make it in Java, but being a desktop application(not a web one), what should be my front end
2) I plan a simple class reading a .csv file which will give me meanings to the x language words in english and i would display that. Is this idea ok?
3) What if tommorrow the number of words have to grow from 200 to 200000 etc
4) How do i ensure that its very fast

Sorry if my questions are too basic

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> ...which is a desktop application.

you'd be better off posting in the Swing/SWT forum instead of the Game forum.

one way might be lo load your 'x'/English into a HashMap, then the KeySet into a JComboBox or JList,
and on selection of an 'x' word, the English translation (via the hashmap) is displayed in a JLabel
I agree. Here's the link: http://aspose.com/file-tools
subject: Not exactly a Game but a Dictionary
It's not a secret anymore!