File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not exactly a Game but a Dictionary

 
sandeeprajsingh tandon
Ranch Hand
Posts: 79
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> ...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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic