BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dbSwing in JFormDesigner

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing
View previous topic :: View next topic  
Author Message
Bruce Alspaugh
Guest





PostPosted: Sat Feb 04, 2006 4:17 am    Post subject: dbSwing in JFormDesigner Reply with quote



I need to be able to place dbSwing components in JGoodies FormLayouts. Since
JBuilder's UI designer does not support FormLayout out-of-the-box, one
suggestion was that I look at other form designers like JFormDesigner.

In JFormDesigner, I went to Windows->Preferences->ClassPath and added
beandt.jar, dbswing.jar, dbswingdt.jar, dx.jar, jbcl.jar, and jds.jar to the
classpath. I then used the Palette Manager to add the dbSwing components to
the pallet.

To test this, I dragged a Database into the design. However, I was not able
to edit the "connection" property because I could not bring up the
Connection dialog box. Any ideas? Am I missing a .jar file to be able to
load the Connection dialog?

Does anyone know of other third-party form designers that support
dbSwing/DataExpress components?

Bruce
Back to top
Paul Furbacher [TeamB]
Guest





PostPosted: Sat Feb 04, 2006 9:17 pm    Post subject: Re: dbSwing in JFormDesigner Reply with quote



Bruce Alspaugh wrote:

Quote:
I need to be able to place dbSwing components in JGoodies FormLayouts. Since
JBuilder's UI designer does not support FormLayout out-of-the-box, one
suggestion was that I look at other form designers like JFormDesigner.

In JFormDesigner, I went to Windows->Preferences->ClassPath and added
beandt.jar, dbswing.jar, dbswingdt.jar, dx.jar, jbcl.jar, and jds.jar to the
classpath. I then used the Palette Manager to add the dbSwing components to
the pallet.

To test this, I dragged a Database into the design. However, I was not able
to edit the "connection" property because I could not bring up the
Connection dialog box. Any ideas? Am I missing a .jar file to be able to
load the Connection dialog?

Maybe. Go back to JBuilder (in verbose mode opened from
a command line) and get to the point where you can open
the Connection dialog. Open it.

Then press Control-Shift-F1 and analyze the output to
the console window. Look for "connection" in that,
and see if you can't identify the package. That
may tell you what you need to know.

Or, create an Open Tools project, create a new Java
class file, and the do a Find Class (Control-minus)
and type in Connection* and see what pops up in the
list.


--


Paul Furbacher (TeamB)

Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
Back to top
Bruce Alspaugh
Guest





PostPosted: Mon Feb 06, 2006 5:05 pm    Post subject: Re: dbSwing in JFormDesigner Reply with quote



"Paul Furbacher [TeamB]" <pfurbacher (AT) mac (DOT) com> wrote in message
news:43e50c1c (AT) newsgroups (DOT) borland.com...
Quote:
Bruce Alspaugh wrote:

I need to be able to place dbSwing components in JGoodies FormLayouts.
Since
JBuilder's UI designer does not support FormLayout out-of-the-box, one
suggestion was that I look at other form designers like JFormDesigner.

In JFormDesigner, I went to Windows->Preferences->ClassPath and added
beandt.jar, dbswing.jar, dbswingdt.jar, dx.jar, jbcl.jar, and jds.jar to
the
classpath. I then used the Palette Manager to add the dbSwing components
to
the pallet.

To test this, I dragged a Database into the design. However, I was not
able
to edit the "connection" property because I could not bring up the
Connection dialog box. Any ideas? Am I missing a .jar file to be able
to
load the Connection dialog?

Maybe. Go back to JBuilder (in verbose mode opened from
a command line) and get to the point where you can open
the Connection dialog. Open it.

Then press Control-Shift-F1 and analyze the output to
the console window. Look for "connection" in that,
and see if you can't identify the package. That
may tell you what you need to know.

Or, create an Open Tools project, create a new Java
class file, and the do a Find Class (Control-minus)
and type in Connection* and see what pops up in the
list.


The property editor for the "Connection" property is in jbuilder.jar. The
property editor for QueryDataSet is also located inside jbuilder.jar. I can
add jbuilder.jar to the JFormDesigner's classpath.

The problem seems to be that both property editors use the cmt subsystem to
generate and update java code. That subsystem only works inside JBuilder.
So I don't think I can use the property editors outside JBuilder.

How hard would it be to write a custom property editor that would not have
this dependency?

Does Borland plan to remove this dependency on the IDE when they move to
Eclipse?
Back to top
Paul Furbacher [TeamB]
Guest





PostPosted: Tue Feb 07, 2006 1:03 am    Post subject: Re: dbSwing in JFormDesigner Reply with quote

Bruce Alspaugh wrote:

Quote:
The property editor for the "Connection" property is in jbuilder.jar. The
property editor for QueryDataSet is also located inside jbuilder.jar. I can
add jbuilder.jar to the JFormDesigner's classpath.

The problem seems to be that both property editors use the cmt subsystem to
generate and update java code. That subsystem only works inside JBuilder.
So I don't think I can use the property editors outside JBuilder.

That is a big problem.

Quote:
How hard would it be to write a custom property editor that would not have
this dependency?

I don't know since we don't have the source code. Does
JFormDesigner document the API to its "Property Inspector"
equivalent? Do they have any examples of writing property
editors?

Quote:
Does Borland plan to remove this dependency on the IDE when they move to
Eclipse?

There's relatively no information as to what is going to
happen with the move to Eclipse. Borland has been very
silent on this matter since Borcon or so. TeamB doesn't
know anything more than what we read in the press about
this, unfortunately. I've been wondering myself what's
happening ... too much silence.


--


Paul Furbacher (TeamB)

Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
Back to top
Gillmer J. Derge [TeamB]
Guest





PostPosted: Tue Feb 07, 2006 1:03 am    Post subject: Re: dbSwing in JFormDesigner Reply with quote

Paul Furbacher [TeamB] wrote:
Quote:
There's relatively no information as to what is going to
happen with the move to Eclipse. Borland has been very
silent on this matter since Borcon or so.

Which is not to imply that they were talkative about it before that
either. ;-)

--
Gillmer J. Derge [TeamB]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.