aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes An interesting Program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "An interesting Program" Watch "An interesting Program" New topic
Author

An interesting Program

Michelle Wang
Ranch Hand

Joined: Apr 17, 2007
Posts: 87
hello,

I have following interesting program, it can nest/group each JPanel(such as Label 1 etc) in layer by layer, I can add as many outer JPanel as possible if I keep pressing "group" button, but if I hope to peel off or ungroup or unnest this "Label 1" by pressing ungroup, I can only take off outmost Layer JPanel, I cannot take off all nested JPanels. I found:
[1]. I cannot Take off each JPanel coverred layer by layer, e.g
I keep pressing Group button for 4 times on "Label 1", then "Label 1" has 4 layers of covers from inner to outer(Layer1,2,3,4 from inner to outer),
when I press UNgroup on "Label 1" again, I can only take off Outmost layer 4, all other layers such as 1,2,3 still remain and cannot be taken off,
But I need to take off layer 1 by 1 until no layer on "Label 1";
[2]. I cannot move the "Label 1" after take off layer 4, but I hope when I take off each layer, I can still move "Label 1" with its remaining layers.

How to do this??

Really thanks



[ June 15, 2007: Message edited by: girl sunny ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: An interesting Program