brian yuen

Greenhorn
+ Follow
since Oct 20, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by brian yuen

thanks guys , I found a web that can helps
password
20 years ago
thanks guys , I found a web that can helps
http://java.sun.com/features/2002/09/pword_mask.html
20 years ago
Thanks very much,

that should be working....i think ,
[ October 24, 2003: Message edited by: brian yuen ]
[ October 24, 2003: Message edited by: brian yuen ]
20 years ago
Can anyone tell me how to hide the information then I type
like

when i typing it, the screen will not display what typed..
20 years ago
thanks for all your suggestion.
but the problem is that,
the construtor take 3 args,
1. If the customer choose open account, it's like
take a customerId, customerName, accountNo as args
if (customerId not in the record)
add customerId, customerName, accountId to Record
the output would look like
1, Brian, 12343434

2. when a cusomter choose open a account (a customer can has two account)
take a customerId, customerName, accountNo as args
if (customerName IS IN the record)
add accountNo under its cusotmerId( i just need to acc accountNo to Record)
1,Brian, 12343434, 11112222(so the cusomter now has two account)
so i thought i need 2 constructor, what's wrong withthe design
[ October 24, 2003: Message edited by: brian yuen ]
[ October 24, 2003: Message edited by: brian yuen ]
20 years ago
i still can't work it out
here is what i want
://take the cusomter name, and account Id
addRec.add(new Account(name, Id);
output like
brian, 123
//take another account no
addRec.add(new Account(Id));
output then like
brian, 123, 321
20 years ago

how can i make the accNo in class Record can store two accNo?
[ October 24, 2003: Message edited by: brian yuen ]
[ October 24, 2003: Message edited by: brian yuen ]
[ October 24, 2003: Message edited by: brian yuen ]
20 years ago

i'm just woundering is the desgin right? and how can i drwa a sequence diagram for this?Should I put the method exCustomer inside the class Record
do something like, Thanks

[ October 24, 2003: Message edited by: brian yuen ]
[ October 24, 2003: Message edited by: brian yuen ]
Thanks guys..i got it now
20 years ago

if the text file is like
1212121212,yuen,chi king,412304265,hotmail.com,1212121212// if loop begin
1111122222,chow,wing yee,403546264,cti,1111122222 //while loop begin
how can i make the while loop read from the beginning again, thanks for help, i know that may be a very easy question..
[ October 23, 2003: Message edited by: brian yuen ]
20 years ago
Thank you very much, i got it now.
20 years ago
can anyone tell me what's wrong with the arrayList
the output is like :TestAccount@a18aa2
the class is called TestAccount...
i add it to an arrayList successfully like...

and use the following code to output

Thanks
20 years ago
Thanks very much..
20 years ago
how can I remove all the element in a arrayList ?
static ArrayList addRecord = new ArrayList();
for(int i=0;i <addRecord.size(), i++)
{
//do some operation;
}
//destory the ArrayList here,
what i want is there's no element in the array list here
...any ideas other than addRecord.remove to remove
all the element in the arrayLIst
thanks
20 years ago
if I wanna create a menu,
should I create tha as a object , or do something like the following(as a funcation)

[ October 22, 2003: Message edited by: brian yuen ]
20 years ago