This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Not exactly a Game but a Dictionary" Watch "Not exactly a Game but a Dictionary" New topic
Author

Not exactly a Game but a Dictionary

sandeeprajsingh tandon
Ranch Hand

Joined: Mar 06, 2009
Posts: 70
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

thanks
sandeepraj
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Not exactly a Game but a Dictionary
 
Similar Threads
Prepone: finally in Dictionary
Writing a dictionary application
Forum on Java Glossary
API implementing Dictionary
NX:How to deal with my Choices.txt doc?