> When i choose bean from the bean pallete and enter the class, netbeans
> cannot find it. has anyone solve this problem?
I don't know of this is related, but some of the bean patterns didn't
make it over from 5.5. You may be bit by this. Check your procedure and
make sure it's ok (didn't misspell a file name or something) and then if
it all looks right, try upgrading to 6.1 beta, I think the bean patterns
are back in that version.
Richie - 27 Mar 2008 18:27 GMT
> > When i choose bean from the bean pallete and enter the class, netbeans
> > cannot find it. has anyone solve this problem?
[quoted text clipped - 4 lines]
> it all looks right, try upgrading to 6.1 beta, I think the bean patterns
> are back in that version
let me be more specific. when i want a non-gui component in my java
project like the timer class in the jdk, i go into the bean pallete
and click on choose been and i entered Timer and i get a message
stating cannot find class. unknown sourse, classpath must be in
project. the jre lib in the classpath.
Mark Space - 27 Mar 2008 20:35 GMT
> and click on choose been and i entered Timer and i get a message
I don't think any class from the JRE is available as a bean. You have
to add them first. Take a look at this:
<http://java.sun.com/docs/books/tutorial/javabeans/nb/index.html>
Richie - 27 Mar 2008 19:12 GMT
> > When i choose bean from the bean pallete and enter the class, netbeans
> > cannot find it. has anyone solve this problem?
[quoted text clipped - 4 lines]
> it all looks right, try upgrading to 6.1 beta, I think the bean patterns
> are back in that version.
6.1 beta did not solve the problem
Richie - 27 Mar 2008 21:00 GMT
> > > When i choose bean from the bean pallete and enter the class, netbeans
> > > cannot find it. has anyone solve this problem?
[quoted text clipped - 6 lines]
>
> 6.1 beta did not solve the problem
thanks. what a bummer this choose bean is. lol
Richie - 28 Mar 2008 14:21 GMT
> > > > When i choose bean from the bean pallete and enter the class, netbeans
> > > > cannot find it. has anyone solve this problem?
[quoted text clipped - 8 lines]
>
> thanks. what a bummer this choose bean is. lol
you have specify the package along with class name like
javax.management.timer.Timer to make it work.