Scalable panel in networks

I need to create a Java application that allows the user to display the URL on a small panel, and it must allow the user to scale the panel so that it covers other components in the frame.

+3
source share
2 answers

I would suggest using LayeredPane and placing the component on top of other components. The following is an example of how to use them: http://download.oracle.com/javase/tutorial/uiswing/components/layeredpane.html

+2
source

CardLayout may be a suitable choice.

+1
source

Source: https://habr.com/ru/post/1787664/


All Articles