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 / JavaBeans / June 2005

Tip: Looking for answers? Try searching our database.

Netbeans graphical java bean creation tutorial

Thread view: 
sgwealti - 04 May 2005 20:30 GMT
I have a lot of experience programming in java but no experience doing
any component/bean development experience.  I'm trying to write a java
bean that handles socket communications and can be placed on a
form/frame/whatever and display the state of the connection as some
sort of graphic (like a rectangle that is green when the connection is
valid and red when it is not).  I've found a lot of older tutorials
that tell how to make java beans but I'm looking for one that
specifically talks about how to use the NetBeans IDE (version 4 would
be great) to make a graphical bean or something close to that.  Any
help in pointing me in the right direction would be appreciated.
Christian Schlichtherle - 14 Jun 2005 16:42 GMT
Hi,

first, read the JavaBeans specification 1.01 (available for download at
java.sun.com) carefully and then the online manual for NetBeans. There is a
section called "" about this topic.

In short: Once you have written your JavaBean, click on the menu "Tools" ->
"Palette Manager". In the upcoming window, select "Beans" and follow the
instructions.

To add your beans to a new file, select "File" -> "New File..." and in the
upcoming window select "Java GUI Forms" -> "Bean Form" (even for non-visual
JavaBeans). Now you can drag and drop your beans from the palette to the
form and interactively work with your beans.

Good luck...


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.