-
Bug
-
Resolution: Fixed
-
P3
-
1.3.1
-
None
-
02
-
x86
-
windows_nt
Our Java Beans do not work correctly if they are packed with
ActiveX-Packager.
We created swing based beans with JDK 1.3 and packed them with the Sun
ActiveX-Packager.
Then we build ActiveX controls from the typelibraries with MSVC++ 6.0.
Testing the controls in a MSVC++ MDI application the controls show some
strange behavior.
Test case
1) unjar LoosingFocus.jar
2) cd LostFocus\activeX
4) Modify LFRoot.reg this way:
- change the paths to beans.ocx to the location where
JRE is installed
- change the paths of loosingfocus.jar and LFRoot.tlb to
the location where you unjared them to.
5) Run:
regedit LFRoot.reg
to register ActiveX control.
This will give a message that it has been registered.
cd LostFocus\cpp\LoosingFocus\Debug
run the exe
LoosingFocus.exe
This will take about two minutes to come up. You will see a window containing the java widow (Loosin1).
Description:
Popup windows such as JPopupMenu and the list part of a JComboBox appear
with an offset on the screen. Move the applications main frame to the top
left corner of your screen or maximize the application window and the
MDI child. Then click on the JComboBox or right click on the MDI's
"Right click here..." area to show the popup menu.
If you restore the applications main frame and move it to the right
bottom corner the popup windows will be displayed correct.
This happens at all positions for the application window except the right hand bottom corner.
ActiveX-Packager.
We created swing based beans with JDK 1.3 and packed them with the Sun
ActiveX-Packager.
Then we build ActiveX controls from the typelibraries with MSVC++ 6.0.
Testing the controls in a MSVC++ MDI application the controls show some
strange behavior.
Test case
1) unjar LoosingFocus.jar
2) cd LostFocus\activeX
4) Modify LFRoot.reg this way:
- change the paths to beans.ocx to the location where
JRE is installed
- change the paths of loosingfocus.jar and LFRoot.tlb to
the location where you unjared them to.
5) Run:
regedit LFRoot.reg
to register ActiveX control.
This will give a message that it has been registered.
cd LostFocus\cpp\LoosingFocus\Debug
run the exe
LoosingFocus.exe
This will take about two minutes to come up. You will see a window containing the java widow (Loosin1).
Description:
Popup windows such as JPopupMenu and the list part of a JComboBox appear
with an offset on the screen. Move the applications main frame to the top
left corner of your screen or maximize the application window and the
MDI child. Then click on the JComboBox or right click on the MDI's
"Right click here..." area to show the popup menu.
If you restore the applications main frame and move it to the right
bottom corner the popup windows will be displayed correct.
This happens at all positions for the application window except the right hand bottom corner.
- relates to
-
JDK-4428838 Problem with JavaBeans AciveX controls Focus problem
-
- Resolved
-
-
JDK-4225247 Drag-and-Drop does not work in an applet on Windows NT
-
- Closed
-