• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Not exactly a Game but a Dictionary

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic