FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Scroll in pane for Absolute controls in Java





ThePolemistis
Hi,

I have a pane which i add control such as labels, buttons and text. The positioning of these control are not done thru layout managers but absolute positions.

I have correct added a JScrollPane to a JPanel. However, when these absolute controls are positioned outside the JPanel view, teh scroll does not appear.

It is possible for me to produce scroll if I use setPreferredSize(x,y) where x,y > the JPanel view.

Does anyone know how to make scroll appear for asolute controls in a panel...
also
I was wondering if it is possibel to detect a control such as Jlabel which has been added which is the furthest away in both width and height in a JPanel??
Related topics
picture slide show (java)
Java Game
Java
Increased Avatar pixel limit
[java scripts] Text effect , img ....
Text stecked to the mouse
751 Useful Windows XP Files
SQL in java
[Java] Top-Down Menu bar tweak.
java applet not working!!
java applet refresh problem
How To Install Apps and Games for the Samsung Memoir phone
Scroll Bar in Firefox
putting a picture or video in a news scroll box
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.