Hi
If I'm not mistaken. You simply need to set a preferredSize on the
JDesktopPane.
Nicholas
> Delivered-To: [EMAIL PROTECTED]
> From: Ralph Kar <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: How can I wrap a JDesktopPane in a JScrollPane?
> Mime-Version: 1.0
> X-Beenthere: [EMAIL PROTECTED]
> X-Mailman-Version: 2.0.1
> List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
> List-Post: <mailto:[EMAIL PROTECTED]>
> List-Subscribe: <http://eos.dk/mailman/listinfo/advanced-swing>,
<mailto:[EMAIL PROTECTED]?subject=subscribe>
> List-Id: Advanced Java Swing programming <advanced-swing.eos.dk>
> List-Unsubscribe: <http://eos.dk/mailman/listinfo/advanced-swing>,
<mailto:[EMAIL PROTECTED]?subject=unsubscribe>
> List-Archive: <http://eos.dk/pipermail/advanced-swing/>
> Date: Wed, 4 Jul 2001 11:44:57 +0200 (MEST)
>
> Hi all,
>
> I have the following scenario:
>
> I have several JInternalFrames that are layered on a JDesktopPane which
> itself is contained in the content pane of a JFrame. It is
> possible to move a JInternalFrame almost all the way outside the visible
> area of the JFrame.
>
> I want to wrap the JDesktopPane in a JScrollPane so that the scrollbars
> appear and shift whenever I move a JInternalFrame into the off of the
> visible area. That way I would have all the JInternalFrames still
> accessible through scrolling to the appropriate area.
>
> So far, all my efforts failed. Has anyone done this before? Are there any
> hints, pointers or code examples available?
>
> Thanks a lot,
> Ralph
>
> ------------------------------------------------
> Ralph Kar |
> Software Developer | mailto:[EMAIL PROTECTED]
> RTS AG | http://www.rtsgroup.net
> ------------------------------------------------
>
> _______________________________________________
> Advanced-swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/advanced-swing
===========================================================================
Nicholas Wright Imperial Software Technology Senior Software Engineer
---------------------------------------------------------------------------
Email : [EMAIL PROTECTED] or [EMAIL PROTECTED]
Kings Court 120 Hawthorne Ave, #101
185 Kings Road Palo Alto
Reading RG1 4EX United Kingdom California 94301 USA
Tel: +44 118 958 7055 Tel: 650 688 0200
FAX: +44 118 958 9005 FAX: 650 688 1054
===========================================================================
****** VISAJ AT http://www.ist.co.uk/visaj ******
===========================================================================
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing