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 180269

Summary: Unable to move file to another package
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173077    
Attachments: MediaBox project

Description Alexandr Scherbatiy 2010-02-04 04:40:15 UTC
NetBeans-JavaFX-Soma: #142

  Product Version         = NetBeans IDE Dev (Build 201001280200) (#eeef33500a1a)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.



Steps to reproduce:

- Open the attached MediaBox project
- Refactor->Move the com.sun.javafx.mediabox.MediaBox file to aaa package

The Move dialog shows errors:
------------------------------------------------------
Class "MediaControlBar$ObjLit$2" within the same package is using feature "minX" of class you want to move ("javafx.geometry.Bounds").

Class "MediaControlBar$ObjLit$2" within the same package is using feature "minY" of class you want to move ("javafx.geometry.Bounds").


Class "com.sun.javafx.mediabox.controls.PlayControl" within the same package is using feature "behavior" of class you want to move ("javafx.scene.control.Skin").

...
------------------------------------------------------

The Reafactor button is disabled on the dialog
Comment 1 Alexandr Scherbatiy 2010-02-04 04:41:07 UTC
Created attachment 93844 [details]
MediaBox project
Comment 2 J Bachorik 2010-02-05 09:30:49 UTC
fixed in http://hg.netbeans.org/javafx/rev/0507d0d1ea2f
Comment 3 Alexandr Scherbatiy 2010-02-08 04:01:14 UTC
verified in NetBeans-JavaFX-Soma: #146