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.