Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370064

Summary: Copy and paste a JPanel from a JFrame to another lost border settings
Product: z_Archived Reporter: Alessio Pollero <alessio.pollero>
Component: WindowBuilderAssignee: Konstantin Scheglov <Konstantin.Scheglov>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: alessio.pollero, clayberg
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Sample Project none

Description Alessio Pollero CLA 2012-01-29 08:25:53 EST
Build Identifier: Version: 3.7.1 Build id: M20110909-1335 

If try to copy a JPanel with a titled border set , when i paste the Jpanel to another JFrame Window the title border is lost and i need to recreate it again .

Aspected Result 

Any JPanel property should be copied including the title border and the name of the border ...

Reproducible: Always

Steps to Reproduce:
1.Create a JFrame Window with a JPanel inside with a Titled Border
2.Create another JFrame Window empty
3.Copy the JPanel from the first window to the second window (with context menu copy/paste)
Comment 1 Alessio Pollero CLA 2012-01-29 08:28:07 EST
Created attachment 210242 [details]
Sample Project

In the attachment a sample project when i 've done the step in the Steps to Reproduce section ... 

As you can see the border property of the panel is not copied and i got the default border in the Window2.
Comment 2 Konstantin Scheglov CLA 2012-02-02 14:13:58 EST
Done in trunk.
Comment 3 Eric Clayberg CLA 2012-06-04 17:04:38 EDT
 Fixed in latest build