Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Beans: Simple beginner's question

Reply
Thread Tools

Beans: Simple beginner's question

 
 
Sveta
Guest
Posts: n/a
 
      06-06-2004
Hello,

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


 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      06-06-2004
On Sun, 6 Jun 2004 10:15:39 +0100, Sveta wrote:

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


You will find lots of friendly people who
will help you through the early stages here..
<http://www.physci.org/codes/javafaq.jsp#cljh>

[ Hope I got that URL right, my system is naff
at the moment and I could not check it.. ]

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plz, a simple answer to a simple question about IP addresses MeekiMoo Computer Support 0 07-28-2009 08:10 AM
Simple region code question... simple answer?? joseph.greer@gmail.com DVD Video 7 01-26-2007 09:07 PM
Simple Question - Simple Answer? Daniel Frey XML 4 01-12-2005 04:25 PM
Re: Simple Simple question!!! Kevin Spencer ASP .Net 0 06-25-2004 05:25 PM
Re: Simple Simple question!!! ashelley@inlandkwpp.com ASP .Net 0 06-25-2004 04:18 PM



Advertisments