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 146427

Summary: Cast Object to int
Product: java Reporter: Tim Lebedkov <lebedkov>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: blocker CC: markiewb
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Tim Lebedkov 2008-09-07 08:47:50 UTC
Java editor does not show a suggestion for converting an Object to an int as it does for example for Frame and JFrame:

int a = jSpinnerDuration.getValue(); // no suggestion here to add (Integer)

It would be nice if it would ;-)