User Profile
Collapse
-
By 3D i mean basic 3D shapes represent 1 node thats why i was asked to use VRML for the shapes. I will only need to represent a single website not many websites connected together thats why i said a tree. Maybe graph was a more appropriate term now that i think of it since websites can point to multple others not limited to sub-sites of them. Well, the instructions i got said tree ... guess they used a wrong term :)
So, any libraries...Leave a comment:
-
-
Website Crawler
Hey all,
I have a project that i need to make a web crawler to find links in a website, and then represent the site's structure in a 3D tree. I have found an example at http://java.sun.com/developer/technicalArticl es/ThirdParty/WebCrawler/ for the crawler, but it seems very very old when hava was at 1.3 and seems some packages have changed abit and now it doesnt work properly. What modifications are needed to make that code work properly... -
Thx for the answers Jos.
I finally got it how to structure the patterns.
if ((Pattern.match es(".*\\p{Digit }.*", passwordField.g etText())) != true)
comments.setTex t(comments.getT ext() + "Your password does not contain Digits\n");
if ((Pattern.match es(".*[!£$%^&*@?<>+_].*", passwordField.g etText())) != true)
comments.setTex t(comments.getT ext()...Leave a comment:
-
Hmmm i got a closer look and tried this
boolean b = Pattern.matches ("0" passwordField.g etText());
if (!b) comments.setTex t("Your password does not contain Digits");
I get it to work but i cant make the pattern to work for the whole number range.Leave a comment:
-
First i found it here
http://www.javaregex.c om/tutorial.html
then i also found it here
http://java.sun.com/developer/technicalArticl es/releases/1.4regex/
It starting to get realy confusing.... Is there any other way do what i am supposed to do?Leave a comment:
-
Ok i found some web pages explaining the use of regex, and i also created the window i want. Now, i try and use the regex package, i write something like this
import java.util.regex .*;
..............
private void checkDigits(jav a.awt.event.Act ionEvent evt) {
Regex r = new Regex("[0-9]");
r.search(passwo rdField.getText ());
...Leave a comment:
-
Java string check
Hi. i am new to java and just starting to learn how it works.
My problem now is, i need a very simple code, that shows a window, where u enter a string, and by pressing a button, it runs various checks on that strings (if it contains uppercase chars, digits, special case chars etc) and then displays a text with the results. Also, if possible a way to check if a string is included in a line of a text file
I am still confused how to...
No activity results to display
Show More
Leave a comment: