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 136510

Summary: palette: Timeline parethesis are off
Product: javafx Reporter: Lark Fitzgerald <lfitzgerald>
Component: EditorAssignee: Michal Skvor <misk>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 132764    
Bug Blocks:    

Description Lark Fitzgerald 2008-06-04 21:55:35 UTC
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
fx NB61 cb plugin: 243

1. open editor
2. go to palette > Timeline > Timeline and drag it onto the editor.  You get

Timeline {
    repeatCount: Timeline.INDEFINITE
    keyFrames : [
        KeyFrame {
            time : 1s
            
        }
]
}

The closing ] should be indented.
Comment 1 Lark Fitzgerald 2008-06-19 15:36:40 UTC
still reproducible. Not an AST issue.
Comment 2 Rastislav Komara 2008-06-27 14:18:51 UTC
if after drop you get invalid AST I'm not able to reformat the code.
Comment 3 Alexandr Scherbatiy 2008-06-27 17:05:12 UTC
The palette adds imports now and the issue is not reproduced.