This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 155795 - swing components show as undefined names
Summary: swing components show as undefined names
Status: CLOSED WONTFIX
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 21:08 UTC by tonybeckham
Modified: 2017-06-23 08:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot (298.39 KB, image/png)
2008-12-18 21:09 UTC, tonybeckham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tonybeckham 2008-12-18 21:08:32 UTC
With all Python hints enabled in Preferences|Editor|Hints, swing components have an error badge as undefined in the editor.

Steps:
-In the IDE options Editor->Hints set all hints on for python
-Create the sample jython project Java Swing app in jython, 

System:
Product Version: NetBeans IDE Dev (Build 20081218144324)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb)
Comment 1 tonybeckham 2008-12-18 21:09:50 UTC
Created attachment 75153 [details]
Screen shot
Comment 2 Jenselme 2017-06-22 19:08:24 UTC
I don't think  we can support this easily. I think the best way to solve this is by importing the swing components from a dummy module you create or just ignore the error.

I don't think we will improve Jython support soon. We have much more work to for CPython support and this concerns more users. Closing this.
Comment 3 Jiri Kovalsky 2017-06-23 08:05:57 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.