I have to create an application in Java, that allow the user to display a URL in a small panel, and it should allow the user to zoom the panel so开发者_运维知识库 as it covers the other components in the frame.
I would suggest using a LayeredPane and putting the component on top of the other components. Here is the tutortial on how to use them: http://download.oracle.com/javase/tutorial/uiswing/components/layeredpane.html
CardLayout
might be a suitable choice.
精彩评论