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 - palette: Timeline parethesis are off
Summary: palette: Timeline parethesis are off
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on: 132764
Blocks:
  Show dependency tree
 
Reported: 2008-06-04 21:55 UTC by Lark Fitzgerald
Modified: 2008-06-27 17:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.