Re: who calls a method

2001-10-12 Thread Peter Graves
> Hello, > > is there a possibility to find out where a method has been called? > Something like the information given by an exception. > > Thanks, > Rapha Thread.dumpStack() -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wit

Re: JSplitPane.setDividerLocation(..)

2000-06-20 Thread Peter Graves
brEezE wrote: > > I have a JSplitPane both contains an JScrollPane on > top and bottom part of the splitpane. > > When try to set the divider's location in v1.2.2 RC4, > nothing seems to be happened. The same code works fine > in v1.3. > > Is this a bug in v1.2.2? > > Thanks! I've got code th

Re: Sun JDK 1.3 & hotspot

2000-06-04 Thread Peter Graves
Timothy Reaves wrote: > > I do not find documentation on how to enable hotspot. Have I > overlooked it? Hotspot is enabled by default. You can specify the jit you want on the command line: java -hotspot java -server java -classic If you don't specify anything, you get hotspot

Re: installation help - error on running java no classes.zip?

2000-01-31 Thread Peter Graves
Do this: java HelloWorldApp instead of this: java HelloWorldApp.class If you're using 1.2.2 you don't need a CLASSPATH (at least not for this). The runtime classes are in .../jdk1.2.2/jre/lib/rt.jar, not ../classes.zip. -Peter http://armedbear.org clyde jones wrote: > > Hi > I j

RC4

2000-01-29 Thread Peter Graves
Blackdown 1.2.2 RC4 is up on ftp.tux.org: ftp://ftp.tux.org/java/JDK-1.2.2/i386/rc4 -Peter http://armedbear.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECT

Re: BlackdownJDK1.2.2.RC3 crashes on SMP Kernels

2000-01-24 Thread Peter Graves
You need at least glibc 2.1.2 for Blackdown 1.2.2 RC3. See the status page: http://www.blackdown.org/java-linux/jdk1.2-status/jdk1.2-status.html It's very stable on my SMP machine (Debian, 2.3.39, glibc 2.1.2). -Peter http://armedbear.org Wolfgang Hoschek wrote: > > I am sure this has be

Re: NEW JDK RELEASE! "Illegal instruction"

1999-11-28 Thread Peter Graves
Yes. I get the same Illegal instruction error on a Pentium MMX 233 running Debian potato (refreshed last night), glibc-2.1.2. -Peter Paul Bowman wrote: > > The JDK-1.2.2rc2 release appears to have been built with some native > code > which is dependent on a Pentium II or newer processor. > >

Re: Speed of IBM's Linux JDK

1999-11-09 Thread Peter Graves
It does feel faster, once it gets going, but it seems like the first time a given piece of code is run, there's a noticeable delay (presumably because the JIT compiler is doing its thing). This occurs, for example, the first time you bring up a dialog box in a Swing app. It also makes applicatio

Re: Swing with ibm jdk 1.1.8

1999-11-09 Thread Peter Graves
Try putting swingall.jar in your CLASSPATH, rather than rt.jar. Works for me. -Peter Pere Serra wrote: > > I've downloaded ibm jdk 1.1.8 and it works with text mode programs, but when I > try to run a swing application it doesn't work. I put the file rt.jar in the > classpath then java says Cl

Re: JAVA+Enlightenment

1999-10-20 Thread Peter Graves
You might try moving the window in question to where you want it to be, then saving its position (and possibly and possibly also its size) using Enlightenment's "Remember..." function. This works for me with the current (0.16.0) version of Enlightenment, at least... -Peter http://armedbear.org

Java and Enlightenment

1999-09-29 Thread Peter Graves
The authors of the Enlightenment window manager have some interesting comments today about Java: http://www.enlightenment.org/news.html Their basic point is that "Java under X (AWT) is Broken"; they don't mention which Java implementation they're referring to. I don't think things are all t

Re: Swing on Linux

1999-06-10 Thread Peter Graves
ish feel compared to 117. To achieve the best performance, you may have to deviate occasionally from the straight and narrow path, as far as Swing goes. -Peter Graves http://armedbear.org Armen Yampolsky wrote: > > Nelson, > > We are working on a CORBA-based java client that is pr

Re: Tya1.3v2 compile problem

1999-05-18 Thread Peter Graves
Try ./configure --with-java=/usr/lib/jdk1.1 Replace "/usr/lib/jdk1.1" with the directory where you have the JDK installed. Roland Carlsson wrote: > > Hi! > I'm trying to compile Tya1.3v2 but get a lot of ugly errors. It all starts with: > > tya.c:7: native.h: No such file or directory > t

Re: [OT] TYA and Redhat 6.0

1999-05-17 Thread Peter Graves
I got this same warning (on a Debian potato system), but after the dust settled tya works just fine... Paul Oliver wrote: > > Hi, > > Redhat 6 seems to be breaking a lot of things for me. :-( I'm not sure, > but I think it has something to do with the egcs distribution used. > > When I try an

Re: Redhat 6 + JDK117v3 + native threads = unreliable AWT?

1999-05-14 Thread Peter Graves
Yes. I have a rather large Swing app that runs fine with 1.1.7v3 green threads, but with native threads it comes up but doesn't paint correctly (the main window remains blank, although I can tell from trace output that the paint code is being called and seems to complete without error), and then

Re: JDK 1.1.7v2 Anywhere?

1999-05-12 Thread Peter Graves
You might try wget. Andrew wrote: > > > http://www.wisp.net/~kreilede > > > > I don't know about anybody else, but whenever i go to donwload it it seems > to crash ie. stop before all the file has been recieved ?? > > why ??? I've tried a number of times ?? Is it available on another site > pe

Re: disappearing windows

1999-03-15 Thread Peter Graves
Sounds like you might be using -green but not specifying -Djava.compiler= to disable the JIT. This is a known problem. -Peter David Thompson wrote: > > > colleagues, > > When starting my GUI based programs they > flash the window on the screen, then the > window disappears and exits. There i