It's a GUI interface in java applet. What I want to do is let user input a URL in a TextArea and program will get this URL to retrieve the content of the indicated web page.
source code is:
--------------------------------------------------
if ( str.equals("Submit data source") )
{...
hi,
I'v encountered such a question. In Java 1.4 Blta version, there are some functions support Regular Expression(RE) which can deal with this problem.
this link is helpful for RE.
http://www.win.net/~stevesoft/pat/
You may also find out more new about Java 1.4 in
java.sun.com
Good luck.
duan
Yes.I'v checked Word_Def. Info. has been added in it properly. it also can be print out on the screen. It's true some stuff in it. I also checked if the words contains white space which can cause the problem.
Any help?
j.
Dear all,
Got problems with HashMap.containsKey()..
Here is the key code:
if ( Word_Def.get("language")!=null )
{System.out.println(Word_Def.get("language"));}
Word_Def is a HashMap stored the word and its definition. Word_Def has been created by reading a chopped...
Hi, Dear all
Can you help me to sort out this problem?
Here is the pat of my code:
variable me is a hashmap's Entryset.
1. v = ((Integer)me.getValue()).intValue();
2. int x = v++;
3. hm.putValue( (Integer) x );
The error lies in line 3."inconvertible type,required...
Hi,Dear
i'm working on processing the text using Java. I found java.util.regex.* can deal with Regular Expression which will enable me split the text as easy as effcient.
Drop several lines of the test code on it:
------------------------------------------------------------
String line =...
Dear,
I'm now working on a project which aims to do:
1. Read in a ASCII txt file which is a on-line English Dictionary.
I don't know which data structure I should use Hashtable or...? Hashtable seems suitable because it can be filled in with word and its definitions (correspond to key and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.