hi all
here is the question. pls do the needful. am a beginner so don have much of an idea on where to start from. any ideas/links/code will be appreciated:
*************** *************** *************** *************** *************** *************
A company has decided to place a list of some of the frequently used abbreviations within the company on a file.. Some examples of the abbreviations used may be:
UML Unified Modelling...
User Profile
Collapse
-
College assignment on Ports and Sockets
-
hi JosAH
thanks for the reply
this is the defintiion of a sentence according to me:
a 'sentence' a linguistic sequence of words, syntactically correct and ending with a punctuation character.
the punctuation character is a full stop.
thanks for the serach code but how do i go about using it so that the whole sentence containing the searched word is loaded in a textbox.
thanks once again. -
Sorry for that. what i meant to say when i mentioned that it should load the whole sentence is this:
when i search for a word in the arraylist of sentences. it should display the sentences which contain the word being searched for.
thanks...Leave a comment:
-
Searching for aword in an arraylist
I am developing a java program which reads all the sentences from the text file and adds them into an array list and when given a word, lists all those sentences which contain the given word. i can load the sentences into the arraylist and serach for a word but i don have an idea on how to load the whole sentence that contains the word i am searching for
PLS HELP.. -
String processing
hi all
i am helping a friend to develop a java program to implement the following features but i cannot understand how to go about this problem.
A text file contains a number of English sentences and each sentence occupies one line in the
file. Develop a Java class which provides the following operations:
Reads all the sentences from the text file and adds them into an array list.
Given a word, lists all... -
Random Game
Hi there
M developing an game in the form of an applet which has two buttons: Random and Clear
Random button has to generate random numbers in a textfield labelled start.
Generating random numbers is not a problem i have used the code below:
*************** *************** *************** ***
Random rand = new Random();
int i = rand.nextInt();
int n = 10;
i = rand.nextInt(n+ 1);
tfld.setText(""... -
Threads and Arrays
hi ol
my name is yasin and am currently working on a java task for a friend.
the scenario is:
there are two threads thr1 and thr2 and one array arr1 with a capacity of 100.
the array is populated with random numbers in the range of 1-100.
the objective of the task is to find all the numbers in the array arr1 which are in the range of 70-80 using the thread thr1 and to send these numbers to the second... -
How to deflect a line
hi there
i am trying to develop an application similar to the laser game
I have tried many ways to deflect the laser beam (a line that i drew from a point to the mirror)
I am using a movable label control to repersent the mirror
any ideas on how to go about this problem???
Thanks
regards
Yasin -
Redrawing the same line in vbnet 2003
hi there
i m working on this application which involves drawing a line from point A to point B. After the line is drawn i trigger an event and the line has to be redrawn again but this time it should be half the length of the original line and should replace the original line.
At the moment i can draw both the lines but i dont know how to get rid of the original line.
Any ideas/code on how i can go about... -
Light and Mirrors
Hi ol
My name is yasin
i am currently developing an application in vbnet 2003
the requirements are as follows:
On the form will be located a number of points (no more than 4) through a light ray must pass. The light ray emerges in a specific direction from a fixed point.
Pls note the light ray is to be represented by a line
The light is deflected by reflection using a suitable number of plane mirrors.... -
how to load another web form using the drop down list box
hi all
dis yasin<yasinkora ya@yahoo.com>
i am creating a web site for a company at the moment. this is the scenario:
the company has many stores throughtout the country. on the home page they expect to see a dropdownlist box/ combo box which has the names of their stores. if one of the entries is clicked it should open another webform/web page which has details about that store.
i hav already created the home... -
how to load another web form using the drop down list box
hi all
dis yasin<yasinkora ya@yahoo.com>
i am creating a web site for a company at the moment. this is the scenario:
the company has many stores throughtout the country. on the home page they expect to see a dropdownlist box/ combo box which has the names of their stores. if one of the entries is clicked it should open another webform/web page which has details about that store.
plz help
No activity results to display
Show More
Leave a comment: