Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Interchanging of JPanels  RSS feed

 
ricky shaw
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have three panels in my JApplet. I am able to drag the panels with the following code. I wanted to know how to interchange the panels. For example if the first panel is dragged over the second both the panels should swap positions. I have included the code for dragging the panels.


Hope you can help me with this.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!