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 / GUI / April 2006

Tip: Looking for answers? Try searching our database.

Netbeans bean creation question

Thread view: 
Paul in Toronto - 19 Apr 2006 23:33 GMT
I've posted this on a couple other Java groups, and just discovered this
one.  I'm not sure if this is the right group for a question like this, but
it seems the most likely on my ISP's server.  So...  Here goes...

In a Java class that I've been taking this semester, we've been using beans
to create GUI components for software project, using JBuilder.  It's been a
simple matter of dragging and dropping the needed components from the
JBuilder palette to the bean, and writing the required code.

I've tried doing the same thing using Netbeans 5.  I opened a new project,
created a main class and a frame to put my beans onto.  Then I created a new
bean, and tried plopping a JLabel onto it.  Nothing showed up.  The label
was listed in the Inspector window, so I'm guessing it's in there
somewhere...  I'm obviously missing something.
Lionel - 20 Apr 2006 00:07 GMT
[snip]

There will probably be someone here who can answer your question, but
also consider having a look at:

http://www.netbeans.org/community/index.html
David Segall - 20 Apr 2006 14:04 GMT
>I've tried doing the same thing using Netbeans 5.  I opened a new project,
>created a main class and a frame to put my beans onto.  Then I created a new
>bean, and tried plopping a JLabel onto it.  Nothing showed up.  The label
>was listed in the Inspector window, so I'm guessing it's in there
>somewhere...  I'm obviously missing something.
I think your problem is that NetBeans offers a very limited choice in
the New Project wizard but it does create a file. I have found that I
often have to delete that file and then use the New File wizard to
provide the basis of the project that I actually want.

In your case the "beans, Java" entry in the on-line IDE Help will
provide the rest of the information you need.


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.