RE: Why do threads take so long to wake up underlinux

2002-02-19 Thread Martin, Stephen
How does this affect the rest of the performance of the machine, are there any downsides? -Original Message-From: Jim Hazen [mailto:[EMAIL PROTECTED]]Sent: February 18, 2002 8:46 PMTo: BlackdownSubject: Re: Why do threads take so long to wake up underlinuxOk, I've rebuild t

RE: Issues with setLocation/setSize and fvwm/fvwm2

2002-02-07 Thread Martin, Stephen
If this is the problem with dialogs showing up iconified the second time that they are displayed, it is not limited to fvwm i have it under windowmaker as well and yes, it's still there. I think it does not happen under the IBM jdk or 1.4 however. -Original Message- From: Greg Wolodkin [m

Why do threads take so long to wake up underlinux

2002-02-06 Thread Martin, Stephen
I've been doing some benchmarks on my machine (a dual 733 running redhat 7.2) and there seems to be a 20 millisecond penalty for doing a sleep or a wait. Here is code that illustrates it: try { for (int i = 0; i < 30; i++) { long start = System.currentTimeMillis();

Sun bug #4392518

2001-08-29 Thread Martin, Stephen
JDialogs (and Dialogs as well) have not worked well under Linux for a long time. The behaviour is described by the sun bug #4392518 which is marked as fixed in merlin beta but still exists under both the sun and blackdown 1.3.1 jdks. Code that demonstrates this bug is attached to this message. Can

What causes "failed to create native peer"

2001-04-27 Thread Martin, Stephen
I am working on an application that uses drag and drop and am attempting to create my own DragGestureRecognizer and am getting this message when I try to start a drag operation. If I use the default recoginzer every thing is fine. Is there something that needs to be done in the recognizer that wou

RE: connecting netscape ?

2001-04-04 Thread Martin, Stephen
Yes, the URL is the argument to this class. > -Original Message- > From: Jacob Nikom [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 04, 2001 3:31 PM > To: Martin, Stephen > Cc: 'V.Suresh'; '[EMAIL PROTECTED]' > Subject: Re: connecting netscape

RE: connecting netscape ?

2001-04-04 Thread Martin, Stephen
Use this, it's cross platform and works great! > -Original Message- > From: V.Suresh [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 04, 2001 10:32 PM > To: [EMAIL PROTECTED] > Subject: connecting netscape ? > > > At present, I am doing a stand alone application project, and I wan

RE: servlet and graphics

2001-03-22 Thread Martin, Stephen
This is because the call to the graphically environment is probably using an awt component that is peered with a native X-Windows implementation. This component is probably making a call to the X server for some service (for example rendering a font). That call will be done in the context of whoev

RE: Typing International Text

2001-03-22 Thread Martin, Stephen
One way to do this is to use the unicode escape sequences. eg: \u00a9 would include the unicode character for the copyright symbol. You can find the unicode values at www.unicode.org > Does anyone know the secret to typing non-Latin-1 text into a > Java program > on Linux? I've tried everything

RE: Brutal X-Windows performance of Swing apps on slow links

2001-03-06 Thread Martin, Stephen
> See the suggestions in > http://developer.java.sun.com/developer/bugParade/bugs/4204845.html > Do any of those help? > - Dan This and all the rest of the replies have been excellent. Clearly Sun is aware of the problem and from reading the posts attached to the bug it is clear that the user com

Brutal X-Windows performance of Swing apps on slow links

2001-03-06 Thread Martin, Stephen
This isn't really a Blackdown problem but does relate to Java under Linux. I've been trying to display a Wwing application through X-Windows from one machine to another across an ISDN line. Performace is horrible, it takes a long time to open windows, display menus and react to mouse events. Other

RE: Messed up swing windows

2001-02-09 Thread Martin, Stephen
> > Make sure you are not mixing up light weight and heavy weight Java > components. There's a tutorial on this from www.javasoft.com If my understanding of light weight vs heavy weight is correct, it means awt components vs swing Jcomponents. This should not be a problem as I don't use any swi

RE: Messed up swing windows

2001-02-08 Thread Martin, Stephen
m: Miloslaw Smyk [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 08, 2001 2:57 PM > To: Martin, Stephen; [EMAIL PROTECTED] > Subject: Re: Messed up swing windows > > > "Martin, Stephen" wrote: > > > > I often have a problem where my Swing window

Messed up swing windows

2001-02-08 Thread Martin, Stephen
I often have a problem where my Swing windows get created messed up. I've attached a couple of gifs to show what I mean. This usually (if not always) happens with a frame or dialog is being created and is not 100% reproducible. My guess would be that it is the result of a race condition but I have

Big ugly DnD Icons

2001-01-22 Thread Martin, Stephen
When doing drag and drop operations under Linux, the icons that appear while doing the drag operation are huge. Is there a way to control this or use a different set of icons? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a