• Post Reply Bookmark Topic Watch Topic
  • New Topic

An interesting Program  RSS feed

Michelle Wang
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ]
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!