Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370064 - Copy and paste a JPanel from a JFrame to another lost border settings
Summary: Copy and paste a JPanel from a JFrame to another lost border settings
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Scheglov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-29 08:25 EST by Alessio Pollero CLA
Modified: 2021-06-04 16:44 EDT (History)
2 users (show)

See Also:


Attachments
Sample Project (7.72 KB, application/zip)
2012-01-29 08:28 EST, Alessio Pollero CLA
no flags Details

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