Skip to main content



      Home
Home » Archived » Visual Editor (VE) » javabeans with database-connection available?
javabeans with database-connection available? [message #57418] Wed, 25 August 2004 09:53 Go to next message
Eclipse UserFriend
Originally posted by: khw.warnkoenig.de

Hi all,

1. Question: are there javabeans like dbtext or dbLabel in Borland /
JBuilder / dbSwing.?
2. Question: are the dbSwing Beans from Borland-JBuilder useable in eclipse?

Thanks for help

Karl-Heinz
________________________
Warnk
Re: javabeans with database-connection available? [message #57444 is a reply to message #57418] Wed, 25 August 2004 14:52 Go to previous message
Eclipse UserFriend
Hi Karl,

> 1. Question: are there javabeans like dbtext or dbLabel in Borland /
> JBuilder / dbSwing.?

The Eclipse VE works with the JavaBeans component model however, so any
JavaBean that follows the basic rule of null constructor, getter and
setter pairs can be used, and the BeanInfo class can supply further edit
time information such as property sheet behavior.

> 2. Question: are the dbSwing Beans from Borland-JBuilder useable in eclipse?

I don't know if anyone has tried them, but if they follow the JavaBeans
coding rules then the answer should be yes. Add them to the build path
of the project, use the Choose Bean on the palette (or toolbar) to drop
them and see what occurs.
If they have BeanInfo classes you will also need to configure the
project to use the BeanInfo package - if it's in a separate JAR add this
as well to the build path, and in the Properties of the project use the
BeanInfo tab to define the BeanInfo package (if it's not the same as the
one with the JavaBeans themselves)

I believe that some JBuilder stuff uses their own extension API and
anything done using this isn't going to be recognized by the VE.

Best regards,

Joe Winchester
Re: javabeans with database-connection available? [message #597748 is a reply to message #57418] Wed, 25 August 2004 14:52 Go to previous message
Eclipse UserFriend
Hi Karl,

> 1. Question: are there javabeans like dbtext or dbLabel in Borland /
> JBuilder / dbSwing.?

The Eclipse VE works with the JavaBeans component model however, so any
JavaBean that follows the basic rule of null constructor, getter and
setter pairs can be used, and the BeanInfo class can supply further edit
time information such as property sheet behavior.

> 2. Question: are the dbSwing Beans from Borland-JBuilder useable in eclipse?

I don't know if anyone has tried them, but if they follow the JavaBeans
coding rules then the answer should be yes. Add them to the build path
of the project, use the Choose Bean on the palette (or toolbar) to drop
them and see what occurs.
If they have BeanInfo classes you will also need to configure the
project to use the BeanInfo package - if it's in a separate JAR add this
as well to the build path, and in the Properties of the project use the
BeanInfo tab to define the BeanInfo package (if it's not the same as the
one with the JavaBeans themselves)

I believe that some JBuilder stuff uses their own extension API and
anything done using this isn't going to be recognized by the VE.

Best regards,

Joe Winchester
Previous Topic:javabeans with database-connection available?
Next Topic:Eclipse VEP plugin not workingin my Fedora Core1
Goto Forum:
  


Current Time: Thu May 01 02:15:30 EDT 2025

Powered by FUDForum. Page generated in 0.05698 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top