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

Summary: swing components show as undefined names
Product: python Reporter: tonybeckham <tonybeckham>
Component: EditorAssignee: Torbjorn Norbye <tor>
Status: CLOSED WONTFIX    
Severity: blocker CC: Jenselme
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen shot

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.