Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zoomable panel in netbeans

Tags:

java

swing

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.

like image 851
Shameemah Avatar asked Jan 24 '26 06:01

Shameemah


2 Answers

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

like image 60
jzd Avatar answered Jan 25 '26 20:01

jzd


CardLayout might be a suitable choice.

like image 32
trashgod Avatar answered Jan 25 '26 20:01

trashgod



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!