Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / JavaBeans / June 2004

Tip: Looking for answers? Try searching our database.

Array Beans

Thread view: 
Sveta - 06 Jun 2004 13:07 GMT
Hello,

Somebody from the java.programmer newsgroup suggested to contact you
for an answer to my problem.

I am totally novice to Java and trying to teach myself the language (which
doesn't seem to work well).

I have created a bean called BC_Table. I then use it in a dialog 10 times
(in 10 different Cards of a StackCard) as TableBean1, TableBean2, TableBean3
etc (my GUI IDE doesn't allow me to set it as an array at this stage).

To be able to use these TableBeans easier, I had created an array of
BC_Table as:

BC_Table [] dummyBean=new BC_Table[stackCardNo];

How can I make dummyBean [] always update its values according to those of
TableBean1, TableBean2 etc
*and vice versa* -I want to use the array for all bean's "set" methods for
convenience then update TableBean1 etc- ??

(I had tried to create a method in which I was doing something like
dummyBean[0]=TableBean1; etc
but this doesn't seem to work. Also I am not sure if and how I could use
clone in this case).

Thanks in advance and sorry for the ignorant's question.

Svet
Sveta - 07 Jun 2004 18:26 GMT
The problem has been solved.

Sveta

> Hello,
>
[quoted text clipped - 26 lines]
>
> Svet
perry - 10 Jun 2004 17:32 GMT
you could learn java ad-hoc, but your best bet is to invest in the
certification exam book tutorial.

- perry

> Hello,
>
[quoted text clipped - 26 lines]
>
> Svet


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.