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 / General / March 2008

Tip: Looking for answers? Try searching our database.

choose bean in netbeans 6.0.1

Thread view: 
Richie - 27 Mar 2008 16:49 GMT
When i choose bean from the bean pallete and enter the class, netbeans
cannot find it. has anyone solve this problem?
Mark Space - 27 Mar 2008 17:00 GMT
> 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.


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.