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.
Cut and paste doesn't seem to work. I had to copy and paste, but when I did the variable names of the new elements were the same as the copied ones but with the digit '1' appended (which of course for copying is logical). I then deleted the original UI elements, but now the references in the code to the original UI elements failed (as the '1' was missing... obviously). This is why the cut and paste feature is important as it would put them in the clipboard without appending the '1' (or whatever number), so that when they were pasted elsewhere the original code would still work.
I am sorry, I am not able to reproduce this issue. Could you, please, provide more details. It would be great to describe _exact_ steps to reproduce and/or attach a reproducible test-case. Thank you in advance. > I then deleted the original UI elements, but now the references > in the code to the original UI elements failed (as the '1' was > missing... obviously). It is not clear what references you speak about. It seems that some details are missing in the description of this problem. Please, elaborate.
OK maybe I wasn't clear. CUT and pasting of elements does not work but COPYING and pasting does. A 'cut' is equal to a copy then an immediate delete. Here's some steps to reproduce: 1) Start a new project (Java Desktop Application). 2) Create a button in the FrameView using the GUI Builder. 3) Select the button (left mouse click). 4) Right mouse click the button to bring up the context menu. 5) Select 'cut'. Notice that the button is not 'cut'.
> 5) Select 'cut'. > > Notice that the button is not 'cut'. What do you mean by 'is not cut'? When you 'cut' a button then nothing happens until you paste it somewhere. So, I am not sure what do you expect to happen just after 'cut'.
Note that Cut & Paste moves a component when Paste is invoked on the target container, and keeps its variable name (if done within the same form).
OK, I'm assuming you've never used 'cut and paste' on a computer before, please see below: http://en.wikipedia.org/wiki/Cut,_copy,_and_paste#Cut_and_paste # Visibly, "cut" text immediately disappears from its location. "Cut" files typically change color to indicate that they will be moved. The button should disappear and be copied in to the clipboard ready for being pasted! Check out ANY application, they ALL do this. Do you not understand what 'cut' does!?
*** This bug has been marked as a duplicate of bug 111311 ***