Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Java (http://www.domainnameforum.org/forumdisplay.php?f=125)
-   -   2 JPanels and scrollPane problem (http://www.domainnameforum.org/showthread.php?t=151939)

Java 03-25-2011 06:47 PM

2 JPanels and scrollPane problem
 
I have a JFrame with 2 JPanels...my problem When I attach one of the JPanels to the JScrollPane object, it encompasses the whole JFrame, instead of just the JPanel I said to attach to. The scrollBar goes all the way up to the top of the JPanel I don't want it to be a part of, as if both JPanels...


All times are GMT -4. The time now is 11:03 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.