The Artima Developer Community
Sponsored Link

Java Answers Forum
translator in Java...

2 replies on 1 page. Most recent reply: Jul 7, 2005 7:21 AM by Kondwani Mkandawire

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
gOku

Posts: 1
Nickname: goku00
Registered: Nov, 2004

translator in Java... Posted: Nov 21, 2004 6:51 AM
Reply to this message Reply
Advertisement
I want to do something like this:

I have a TexArea and a button "To translate" then in the TexArea I place "Hello World" and when I press the button "To translate" above leaves another TexArea to me, but with the translated text to Spanish, serious: "Hola Mundo".

This I need it to do without Applet.

I have the JDK1.3

I hope that they help... good bye me


Antonio

Posts: 33
Nickname: arhak
Registered: Jul, 2005

Re: translator in Java... Posted: Jul 7, 2005 4:06 AM
Reply to this message Reply
It is as simple as making a new Application with two TextArea and a Button with an ActionListener added.
PD: or I didn't understand you

Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: translator in Java... Posted: Jul 7, 2005 7:21 AM
Reply to this message Reply
R U looking for a design suggestion (i.e a huge
project with AI Modules such as a Knowledge
base to gather various data about the translation
rules, grammar for languages, word to word
mappings, etc) or are you just looking for a
simple


class ActListener{
if textArea1.getText().equals("Hallo World"){
secndTextArea = new TextArea(...)
getContentPane().add(scndTextArea(....);
}
}


type of code?

Flat View: This topic has 2 replies on 1 page
Topic: How do I get a highlightPainter? Previous Topic   Next Topic Topic: JAVA IDE

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use