πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11583

Re: JInternalFrame is slow....

#11583
From: Don Walters
Date: Mon, 10 May 1999 00:00
21 lines
1221 bytes
Hi Michael,

For the speed problem, the best solution I've found is to disable the
redraws during draging.  You can do this by setting the following property
in your JDesktopPane object:

    putClientProperty("JDesktopPane.dragMode", "outline");

For bringing a JInternalFrame in front, I think you just call
setSelected(true) in your JInternalFrame object.

Don

Michael HοΏ½rtig wrote in message <372FE45E.9B4B0987@nupis.de>...
>Hi all,
>
>I have a speed problem with JInternalFrame. It is very slow. I use JDK
>1.2.1 on NT4.0, PII 300 MHz. If I drag a frame it doesn't scroll nice.
>Another problem is bringing JInternalFrames to front. How can I do this
>with code so that the JInternalFrame is in front and has the focus?
>
Technical Details
Message-ID: <7h70bm$mbf6@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <372FE45E.9B4B0987@nupis.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,a19c548334444f8d
X-Google-Attributes: gid111d45,public
From: "Don Walters" <daw@antrim.com>
Subject: Re: JInternalFrame is slow....
Date: 1999/05/10
Message-ID: <7h70bm$mbf6@forums.borland.com>
X-Deja-AN: 476222083
References: <372FE45E.9B4B0987@nupis.de>
Organization: Antrim Design Systems, Inc.
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing