Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Newbie - basic ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 15900 of 16566
Post > Topic >>

Newbie - basic questions about Javabeans

by zalek <zalekbloom@[EMAIL PROTECTED] > Mar 20, 2008 at 08:02 PM

Hello,
I decided to write a simple application using Javabeans  in NetBeans
IDE 6.0.
I created a frame with few buttons and fields.
I gave a name to all fields and buttons. I switched from Design to
Source and I see code like this:

jButton1 = new javax.swing.JButton();
.....
jButton1.setName("b_exit");

The above code cannot be changed.

My questions:
How I should I access object I created - I don't want to use name like
jButton1 - I want to use name I assigned like b_exit.
Is there any example of building simple application using JavaBeans?
Which book do you recommend for learning Javabeans?

Thanks,

Zalek
 




 8 Posts in Topic:
Newbie - basic questions about Javabeans
zalek <zalekbloom@[EMA  2008-03-20 20:02:56 
Re: Newbie - basic questions about Javabeans
Mark Space <markspace@  2008-03-21 03:18:04 
Re: Newbie - basic questions about Javabeans
Roedy Green <see_websi  2008-03-21 17:35:25 
Re: Newbie - basic questions about Javabeans
Lew <lew@[EMAIL PROTEC  2008-03-21 19:07:51 
Re: Newbie - basic questions about Javabeans
zalek <zalekbloom@[EMA  2008-03-21 04:21:07 
Re: Newbie - basic questions about Javabeans
CK <claus@[EMAIL PROTE  2008-03-21 14:55:28 
Re: Newbie - basic questions about Javabeans
Mark Space <markspace@  2008-03-21 16:03:56 
Re: Newbie - basic questions about Javabeans
zalek <zalekbloom@[EMA  2008-03-22 05:41:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 16:30:04 CST 2008.