Z
zalek
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
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