Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Datawindow not displayed in Tabbed Pane

2 views
Skip to first unread message

forum.sybase.com

unread,
May 17, 2005, 7:34:51 AM5/17/05
to
Hi all,

I have a collegue who uses PowerJ/DW for client server apps.

Here is his issue:
"
We have been working successfully with the Java Datawindow object so far,

it works well, behaving like the Powerbuilder Datawindow we're still

using, but we ran into difficulties including this Java Datawindow into

the application, graphics-wise.

Until now, we had been including the Datawindow on a JFrame object, using

X-Y kind of coordinates, and it worked well.

Recently, we tried to include the Datawindow in a layout-managed panel,

and the datawindow hasn't been able to display itself. We thought there

was a problem with the Java Layout management, and we gave up, having

found another solution.

Then, we met the need of integrating the Datawindow into TabbedPanes for

our application. To achieve this, the Datawindow has to be added to a

Panel object, that will be handled by the TabbedPane to show the panel

associated to the tab. We have been able to display buttons, fields,

everything but Datawindows.

There is a similarity between the Layout and the Panel troubles, being the

need to transfer the display of the Datawindow to Java managers, instead

of displaying it straight on a JFrame with coordinates.

As soon as we need to let Java handle the Datawindow positionning and

drawing, the datawindow won't show, even when we activate the "enable" or

"visible" properties.

Is this a reported problem, maybe is there a known solution for this ?

We would highly appreciate any answer to our problem."

Can you help?

Regards

alex


0 new messages