Em Andamento

friends

*Friends program*

Make a Java program to maintain a simplified network of friends, friends of friends, etc. Each

erson has a name, an address, a phonenumber, and friends. There are three [url removed, login to view], only one person ('me') is available directly. Secondly, every person except 'me' is the

friend of exactly one other person. Thus, to any person there is exactly one chain of friends

starting from 'me'. Thirdly, each person has at most two friends.

The *user interface* has a *text area* to show the attributes of one person. We call that person the

selected person. Further, the *user interface* should be equipped with buttons for actions:

? Go back to 'me'. The selected person becomes 'me'.

? Modify the data of the selected person. The new values have to be available in

appropriate *text fields*. It is not possible to change friends in this way.

? Go to the first friend, if any. The first friend of the selected person becomes selected. If

the selected person has no first friend, nothing happens.

? Go to the second friend, if any, analogously.

? Add a new person as first friend of the selected person. The data for the new person

should be present in the same *text fields* as used for modification. If the selected person

already has a first friend, that friend is replaced by the new friend.

? Add a new person as second friend of the selected person, analogously.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Should be running in Visual Cafe. GUI, enine and person class are important.

materials

? Visual Cafe

? Program three classes: a GUI; an engine; a class, of which each person is an *instance*.

? When the program starts there is only one person: 'me'. Other persons are added as

riends. The engine object should create and remember the 'me' object.

? The engine needs a *reference* to the selected person as well.

? The friend attributes are *references* to other persons. Set the initial values of these

attributes to null, i.e. a reference to nothing ("no friend").

? Only when a person is added, the corresponding object has to be created.

? Technically, it is difficult to show the data of 'me' immediately when the program starts.

It is sufficient when the user has to press a button first.

## Platform

windows98

Habilidades: Engenharia, Java, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: java complete reference, friends of, java maintain, create java object, text gui java, maintain java, simplified program java, modification java code, friends added, java gui text, code cafe, cafe program, friends data name, cafe name , show friends, gui network code, java change address, network modification, show text gui, java form modification work, gui java text, attributes modification, show selected text java, gui modification, network friends

Acerca do Empregador:
( 3 comentários ) Germany

ID do Projeto: #3014806

Premiar a:

lmxvw

See private message.

$25.5 USD em 2 dias
(126 Avaliações)
4.7

7 freelancers estão ofertando em média $32 para este trabalho

marcuszarra

See private message.

$42.5 USD in 2 dias
(52 Comentários)
5.4
intellinovainc

See private message.

$25.5 USD in 2 dias
(12 Comentários)
4.1
carefulwith

See private message.

$38.25 USD in 2 dias
(13 Comentários)
3.1
eyenetsolut

See private message.

$38.25 USD in 2 dias
(14 Comentários)
2.5
gmarkvw

See private message.

$34 USD in 2 dias
(0 Comentários)
0.0
jorgeguzm225n

See private message.

$17 USD in 2 dias
(0 Comentários)
0.0