Hi

I always used to have this problem with FVWM.  I put it down to a terrible 
window manager.

I've never had this problem with CDE.

Check your program out with another different window manager.

Tacky solution:  Set the location on all your windows to be Y = 0+(height 
of title bar), so that in the worst case the title bar should always be 
visible on the screen.

Best Regards

Nicholas

> Delivered-To: [EMAIL PROTECTED]
> From: "Brooke Wallace (EWU)" <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: Working with WindowManager (Unix)
> 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: Fri, 22 Jun 2001 20:56:31 -0500
> 
> 
> Hi,
> 
> We are developing some Java applications using Swing and 
Java1.2.something on Unix. One of the problems we are having is that the 
application does not seem to communicate with the Window Manager (in this 
case CDE and FVWM). The application main window always starts in the upper 
left hand corner of the screen such that the title bar is off the top of 
the screen.
> 
> Our temporary solution is to set the window location to the center of the 
screen, however this has the undesirable effect of having subsequent 
invocations of the same application appear directly on top of the existing 
one rather than cascade nicely down as with normal X applications that 
communicate with the Window manager. It is much more desirable for us to 
have the applications managed by the window manager rather than having them 
always placed in one consistent location.
>  
> Does anyone have a nicer solution (besides implementing our own Java 
window manager)?
> 
> I have noticed that there are a few (maybe more than a few) bugs with 
Swing/AWT on Unix with Java1.2.X and I see that some of these bugs have 
already been filed with sun and are still pending, such as the default 
location being one with the title bar off the top of the screen.
> 
>  Thanks for your help
> 
>       -Brooke

===========================================================================
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

Reply via email to