Issue222837

classification
Title: import problem
Type: Severity: normal
Components: Jythonc compiler Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.19:29:56 by bckfnn, last changed 2000-11-23.09:56:11 by bckfnn.

Messages
msg120 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.19:29:56
I use jpython with javax.swing packages.  I am running the application fine. 
When I use jpythonc to convert things to java I see that java.swing.* viz.
JFrame and stuff giving NameError.  Few packages like javax.swing.text.html.*
and javax.swing.event.* are no problem.  In the jpy$packages array I see entries
for javax.swing.text.html.* and alike but none for javax.swing.

I could work out by using fully qualified class name for javax.swing classes but
would like that it gets fixed.

from javax.swing import *

this statment does not get accounted in required packages while using jpythonc.

I check out egroups for similar problems and there were some but quite did not
get decent fix.
msg121 (view) Author: Finn Bock (bckfnn) Date: 2000-11-23.09:56:11
Fixed in the errata.
History
Date User Action Args
2000-11-18 19:29:56bckfnncreate