I am Sonia... Need a help from Java Programmers

Status
Not open for further replies.
Messages
3
This Sonia.. I' m doing my Computer Degree in India, Mumbai...

If any java programmers here pls help me to do this 2 questions..
If you finish these 2 tasks mail me hasna_sonia@yahoo.com

Questions as follows

Question 1)

GUI, Event Handling, Exception Handling, Audio

An interface has two buttons labelled “Create” and “Exit”. Each time a user presses the “Create”
button; two circles appear at random positions on the screen. The circles need not be of the same
size. Once the user presses the “Exit” button, the program is to display the number of times that:

*** The areas of the two circles do not overlap.
*** The areas of the two circles overlap.
*** The areas of the two circles totally overlap.
In each case the system is to emit an appropriate audio indicating the nature of circle overlaps (the
three different scenarios described above). Note that the “Create” button may be pressed a number
of times before the “Exit” button is pressed which displays the result and ends the program.

Develop a Java program to implement this specification.

++++++++++++++++++++++++++++++++++++

Question 2)
Methods, String, Thread, File Handling, Exception Handling

A user is interested in an alphabetical list of all the 4-letter words which have been used in a text
file. To achieve this, a program is required:

*** To read the lines from the text file and transfer all the words into a string array whose size
should not exceed 10.
*** Another part of the program takes the words, one at a time, from the string array and adds it into
an ArrayList, provided it is a 4-letter word. Duplicate words are not allowed.
*** In addition, the program should be able to provide an alphabetical list of these 4-letter words.
Take advantage of the thread feature of Java to implement this requirement.
Write this program using Java.
 
MarxSoccer said:
Enough f***ing threads! Sorry about the language but this place has come to ruins
I agree, but still no excuse for this sort of language Marx, I feel like swearing myself, but we can't stop these posts coming in, this is a multi-post, damn nuisance, four to deal with here, of course the poster could be innocent, this one's from India, & probably thinks if they make several posts, they stand a better chance, I've just got up after a lousy night's sleep, & am now faced with this #@x^%<~@ing lot, you should try being a mod! lol.
 
Tried to PB her Marx, but couldn't, David is sorting it out, a glitch apparently, grrrrrrr!! :mad:
 
Status
Not open for further replies.
Back
Top Bottom