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 219662

Summary: CodeCompletion on constructor should complete constants from same class
Product: java Reporter: markiewb
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Code completion for FlowLayout constructor

Description markiewb 2012-10-07 15:01:33 UTC
[ JDK VERSION : 1.6.35 ]

CodeCompletion on constructor should complete constants from same class, 
which would be very useful for coding swing-layouts.

For example:
* Type "new FlowLayout(|)"
* Invoke code complete at |

EXPECTED: Code completion popup proposes FlowLayout.LEFT, 
FlowLayout.CENTER, FlowLayout.RIGHT...

See screenshot.
Comment 1 markiewb 2012-10-07 15:02:21 UTC
Created attachment 125533 [details]
Code completion for FlowLayout constructor