Re: Java Plug-in tantalizing, but...

1998-05-18 Thread Juergen Kreileder
inal candidate library for > Debian 2.0, which claims to be 2.0.7pre1. I believe I mentioned that > the glibc v5 of 1.1.5 works on this machine, although v7 segfaults at > startup. > > -- > Robert Coie > Implementor, Intrigue Ltd. I'm using libc6_2.0.7pre3-1.deb from the new

Re: Java Plug-in tantalizing, but...

1998-05-19 Thread Juergen Kreileder
Robert Coie <[EMAIL PROTECTED]> writes: > Juergen Kreileder wrote: > > > I'm using libc6_2.0.7pre3-1.deb from the new unstable dist ('slink') and > > v7 works fine. > > Great point; I was actually downloading that as your mail arrived. It > wo

Re: latest glibc debian packages?

1998-05-26 Thread Juergen Kreileder
ease. > There is a new unstable dist (it is called 'slink'), you can find it at ftp.debian.org:/pub/debian/dists I'm using jdk-1.1.5v7 (tar.gz version) with libc6_2.0.7pre3-1. Juergen. -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: latest glibc debian packages?

1998-05-27 Thread Juergen Kreileder
Stephen Zander <[EMAIL PROTECTED]> writes: > >>>>> "Juergen" == Juergen Kreileder <[EMAIL PROTECTED]> >writes: > Juergen> There is a new unstable dist (it is called 'slink'), you > Juergen> can find it at ftp.debian.or

Re: Java3D working at all?!?

1998-05-27 Thread Juergen Kreileder
all got it workin on Linux? > > I was thinking that the implementation might *really* be for Solaris only, and > that the script misstakeny thinks the file is corrupted when the problem is > actually something else. > > Thanks! > > --- > / Peter Schuller > > [2

Re: make depend?

1998-05-29 Thread Juergen Kreileder
er,java.io.PrintStream CLDEP:GraphTest. GraphListener,java.lang.System CLDEP:GraphTest. GraphListener,GraphModelEvent CLDEP:GraphTest. GraphListener,GraphTest After removing the dependencies on java.* (and on other foreign packages) it should be no big deal to generate a dependency file. Bye,

Re: appletviewer screen location

1998-06-05 Thread Juergen Kreileder
ble, there is no way to reposition or even > 'quit' it! Wondering if there is some way to control this > annoying behaviour?? > > Thanks much, > > -jerry solomon Some ugly workaround: Add "AWTapp.geometry: +11+43" to your Xresources. Juergen. -- Juerg

Re: Java Plug-in and JDK 1.1.6v1

1998-06-15 Thread Juergen Kreileder
ve.com/java-linux@java.blackdown.org/msg00113.html , it should work for jdk 1.1.6v1 too. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: java.lang.UnsatisfiedLinkError: readImage

1998-06-15 Thread Juergen Kreileder
r libjpeg.so, it should give something like that: 123> nm /public/languages/JDK-1.1.6v2/lib/i686/green_threads/libjpeg.so | grep readImage 000103e4 T Java_sun_awt_image_JPEGImageDecoder_readImage_stub 22d8 T sun_awt_image_JPEGImageDecoder_readImage Juergen -- Juergen Kreileder,

Re: java.lang.UnsatisfiedLinkError: readImage

1998-06-16 Thread Juergen Kreileder
ectory (this is the one that should get loaded) and there is a libjpeg.so in /usr/lib (which is the wrong library). Jürgen. -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: PLEASE help! Java Web Server 1.1

1998-06-17 Thread Juergen Kreileder
ut native libs included in the solaris version. And the Admin Applet sometimes doesn't show up at the first try. Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: jdk1.1.6-v2test keyPressed event

1998-06-19 Thread Juergen Kreileder
wrong! This is not linux specific, JDK-1.1.6 on Sparc Solaris returns the same values. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Java Web Server: can't find javac?!?

1998-06-19 Thread Juergen Kreileder
he scripts I was trying to access (e.g. credit_card.jhtml). Page compilation works for me. I start the jws with: export JAVA_HOME=/public/languages/JDK-1.1.6v2 JavaWebServer-1.1.1/bin/http -nojre and jws has no problems to invoke javac. Jürgen -- Juergen Kreileder, Univer

Re: 116v2-glibc / libdl and JNI

1998-06-20 Thread Juergen Kreileder
calls, so the first thing in a green threads program must be creating the vm otherwise system calls like open() will not work properly. You should go to a solaris machine and test your code with native threads. (I find some time I will try with Solaris 2.6 and JDK-1.1.6 native threads). We really need

Re: 116v2-glibc / libdl and JNI

1998-06-20 Thread Juergen Kreileder
gt; > I definitely agree. Wish I had more experience with Linux > threads. Has anybody tried already? Japhar uses native > threads, so it shouldn't be a "dream" by default (as the > FAQ puts it). I haven't tried japhar for some time, I'll update my cvs tree later. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Bugreport: jdk1.1.6v2test1.1 glibc

1998-06-20 Thread Juergen Kreileder
peer.delItems(start, end); // so something must be wrong here } } NOTE: There was is problem with java.awt.List with jdk1.1.6-v1 Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-580

Re: JNI and green_threads

1998-06-20 Thread Juergen Kreileder
Stephen Wynne <[EMAIL PROTECTED]> writes: > In message <[EMAIL PROTECTED]>, Bernd Kreimeier writes: > > In case you missed it on the list - Juergen Kreileder just told me > that JNI can't work with green_threads under Linux, if you use > certain

Re: 116v2-glibc / libdl and JNI

1998-06-21 Thread Juergen Kreileder
Bernd Kreimeier <[EMAIL PROTECTED]> writes: > Juergen Kreileder writes: > > > Classpath default: > > >/../../../classes:/../../classes.zip:/../../classes.jar: > > Yes, you have to tell the VM where it can find classes.zip. > > Could this please be cla

Re: More keyboard problems

1998-06-30 Thread Juergen Kreileder
t.id == Event.ACTION_EVENT) ... > } > return true; This should be: return super.handleEvent(evt); If you just do a 'return true' only ACTION_EVENTs will be handled. > } > } Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V

Re: What's up in keyborad Listener?

1998-06-30 Thread Juergen Kreileder
display.repaint(); > } >}; > > } > > key Event is never transmited to kl. > I use jdk1.1.5 and Linux Redhat 5.1. kl is a KeyListener for the Canvas display, but you traverse the focus to the (not visible) TextField in

Re: still problem in key listener

1998-06-30 Thread Juergen Kreileder
27;keyTyped'? With these modifications your code works for me. When I click somewhere on the frame and type in something, the typed string shows up at the click location. Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: More keyboard problems

1998-06-30 Thread Juergen Kreileder
at. Okay, it's all there now. src1-7.java is a new version > incorporating Juergen Kreileder's code fix. It still doesn't work. > src1-4.java has the book class. Your code works fine with JDK 1.1.6! Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Bug in JDK1.1.6v2 and previous releases ?

1998-07-01 Thread Juergen Kreileder
y myself) doesn't crash. Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Bug in JDK1.1.6v2 and previous releases ?

1998-07-02 Thread Juergen Kreileder
Paul Ho <[EMAIL PROTECTED]> writes: > At 10:44 AM -0700 07/02/98, Eitzenberger Thomas wrote: > >Juergen Kreileder wrote: > > > >> It crashes only with the 1.1.6v2 (libc5/glibc) vm that has motif > >> statically linked in. If you have Motif/Lesstif try set

Re: Problems with lists

1998-07-08 Thread Juergen Kreileder
s > that selecting these bogus items results in an ArrayOutOfBoundsException. delItem(0) doen't work with v2. It removes the the element 0 from the underlying vector but doesn't remove its visual representation. This will be fixed in the next release. Jürgen -- Juergen K

Re: Bitwise operators

1998-08-03 Thread Juergen Kreileder
} > } > > long is 64 bit int is 32 bit If you want to use long: Change n=0xf0f0f0f0 to n=0xf0f0f0f0L, n=0x0f0f0f0f to n=0x0f0f0f0fL and for(int i=1<<31; i!=0; i>>>=1) System.err.print((l&i)!=0?"1":"0"); to

Re: AWT-Bug in JDK1.1.6v2

1998-08-04 Thread Juergen Kreileder
the second frame disappears > Sometimes I get messages about Bogus free memory and unallocated memory, > but not in this small sample. > I have a patch for this bug, hopefully it will be in the next release. Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl

Re: AWT-Bug in JDK1.1.6v2

1998-08-05 Thread Juergen Kreileder
the bug anymore. There are still problems with frames, I'm testing a patch to make setIconImage work with KDE right now. Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Problem with big array.

1998-08-08 Thread Juergen Kreileder
it works for me on linux), it will *never* work with 'appletviewer http://somehost/somepath/sorttest.html' because the verifier will check classes loaded over the network. If you want the verifier to check local code you have to use the -verify option (i.e. 'appletviewer -J-verify so

Re: AWT Bug? Threading problem? Or am I losing my mind?

1998-08-10 Thread Juergen Kreileder
raphics g) { > System.out.println("Painting (color is " + getForeground().toString() >+ ")"); > g.setColor(getBackground()); > g.fillRect(0,0,getSize().width,getSize().height); > g.setColor(getForeground()); >

Re: Printing

1998-08-14 Thread Juergen Kreileder
t; My problem has not been solved yet ... > > I hope somebody can help me ... Printing is a real necessity ... > Printing with java 1.1.6 on linux works, I don't know if it works with 1.1.3. The error you get is thrown if java cannot execute /usr/bin/lpr or /usr/bin/lp. Does one

Re: Time zone handling broken in Linux java?

1998-08-14 Thread Juergen Kreileder
ilar. > > Is this a linux specific quirk, or is it a general bug in java? It's a sun bug. It has been fixed in JDK-1.2b4. You might want to try "TZ=ECT java DateTest". Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Using sun.tools.javac.Main within a java app?

1998-08-17 Thread Juergen Kreileder
ailedException("Compilation failed: \n" + out); } Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: 3rd JDK for Linux/Intel available (OpenGroup)

1998-08-19 Thread Juergen Kreileder
xtArea. > > If that's true I can stop looking for a solution to get german > umlauts on the screen :-(. If you have a glibc system, do latin1 letters in TextComponents work with 'LD_PRELOAD=libBrokenLocale.so java ...'? Juergen -- Juergen Kreileder, Universi

Re: Compilation weirdness

1998-09-08 Thread Juergen Kreileder
Bernd Kreimeier <[EMAIL PROTECTED]> writes: > public abstract class BS { > /** The local host default. */ > public static final InetAddress LOCALHOST; > > static { > InetAddress localhost = null; > try { > localhost = InetAddress.getLocalHost(); > } > catch ( UnknownH

Re: verify-error116v4a

1998-09-16 Thread Juergen Kreileder
7 but throws a rather unexplained verify-error with > 116v4a. I think that's problem: $ javaverify MidiMutator Signalled error "java/lang/NoClassDefFoundError" with detail "javax/media/ControllerListener" Class MidiMutator fails Jürgen -- Ju

Re: Where can I get JDK-1.1.6v4 ?

1998-09-19 Thread Juergen Kreileder
>>>>> Peter-Frank Spierenburg writes: > Hi, According to your site, JDK 1.1.6v4 is available, but I can't > find it on any of the mirrors. Has it been released, or is it an > alpha version? It has been released, try ftp://ftp.tux.org/pub/java/JDK-1.1.6/i386/

Re: jdk in linux

1998-09-20 Thread Juergen Kreileder
/bin/i586/green_threads/java: No such > file or directory > I think it is related to the .java_wrapper in the bin directory.. Sounds more like a libc5/glibc issue. If you have /lib/libc-2.0.7.so you'll need the glibc version of the JDK, if you *only* have /lib/libc.so.5 you'll

Re: jdk in linux

1998-09-20 Thread Juergen Kreileder
>>>>> Michael Emmel writes: > Juergen Kreileder wrote: >> >>>>> P Q writes: >> >> > hi I just downloaded the jdk1.1.6 and installed in my linux >> system. >> >> > when I try to run "javac" command,

Re: New Installation Problem

1998-09-21 Thread Juergen Kreileder
you *only* have /lib/libc.so.5 you'll need the libc5 version. For an explanation of the error message see my answers in the thread "jdk in linux" yesterday. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: 116v4a glibc bug

1998-09-22 Thread Juergen Kreileder
public static void main(String[] args) {} } Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: urgent help needed please.......Rý??²? ü¢??*sü ^£?³ý¬???­ý´?¶¹¥

1998-09-22 Thread Juergen Kreileder
-L/usr/lib > -L/usr/share/jdk1.1.6/lib > -L/usr/share/jdk1.1.6/lib/i686/green_threads hello.c -o libhello.so I have tried your HelloWorld2 program and it works fine on my machine. I even don't have to link against c_nonshared Is your libc of recent date? Juergen -- Juer

Re: urgent help needed please.........

1998-09-22 Thread Juergen Kreileder
chance too ;-) Juergen PS: I'll contact you privately for more details. -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: JDK & native threads

1998-09-24 Thread Juergen Kreileder
t; page on Blackdown ? Not exaclty, JitterBug (http://samba.anu.edu.au/jitterbug) is a web based bug tracking system. Blackdown is one of the sites running JitterBug. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, G

Re: FW: Versioning -- Linux JDK needs your HELP!

1998-09-26 Thread Juergen Kreileder
/X11R6/lib/libSM.so.6 (0x4015) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40159000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40165000) libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x40209000) libc.so.6 => /lib/libc.so.6 (0x4021) /lib/ld-l

Re: JDK 1.2 Support for CORBA

1998-09-26 Thread Juergen Kreileder
there is *no* timeline for a linux release. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Default fonts and colors in java

1998-09-26 Thread Juergen Kreileder
ound: #00 *Text.highlightBackground: #ff *Text.highlightColor: #00 (These properties have effect on all applications, if you want to restrict their effect on java applications you can use AWTapp.) Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Need help with initial Java setup

1998-09-27 Thread Juergen Kreileder
Property(System.java:425) at >> sun.applet.AppletViewer.mainInit(AppletViewer.java:1037) at >> sun.applet.AppletViewer.main(AppletViewer.java:1047) Remove java40.jar from your classpath. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: getResourceAsStream on Class-Files

1998-09-28 Thread Juergen Kreileder
x. But files with > this prefix are not opened (the methode reports null). If i copy > the same file to the same directory, but without the postfix, the > stream is returned as expected. > Any hints ? That's a security feature, you can't get classes with getResource.

Re: missing KeyEvents

1998-09-28 Thread Juergen Kreileder
problems where the key events get delivered to the wrong component: http://developer.java.sun.com/developer/bugParade/bugs/4053856.html If you think the problem only occurs when subclassing Choice, you should send me some example code. Juergen -- Juergen Kreileder, Universitaet

Re: help with swing!

1998-09-28 Thread Juergen Kreileder
e to initialize threads: cannot find class java/lang/Thread psteele> $ Swing's example-scripts are somewhat broken, to run these scripts you need to set JAVA_HOME and SWING_HOME (like you did above) and you have to *unset* CLASSPATH: $ export JAVA_HOME=/opt/java/jdk1.1.6 $ export SWING

Re: Experiences with jdk and lesstif?

1998-09-29 Thread Juergen Kreileder
l C example for this problem yet. If you want to work with lesstif you should get lesstif-current, many problems have been fixed recently. I think you wont save much memory with lesstif unless you have several lesstif applications running at the same time. Juergen -- Juergen Kreilede

Re: Return key is ignored in XmTextWidgetClass inside static Motif applications.

1998-09-29 Thread Juergen Kreileder
gt;> >> Did you try the LD_PRELOAD=libBrokenLocale.so trick? Without this trick umlauts in text components don't work for me (glibc motif applications only, e.g. JDK, netscape, ...). We had several bug reports about entering text (not only umlauts) in text components, for most people preloading libBrokenLocale.so solved the problem. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Experiences with jdk and lesstif?

1998-09-29 Thread Juergen Kreileder
> Jason Dillon writes: Jason> I had lots of trouble with popup menus using lesstif. I Jason> was never able to resolve this issue, so I had to stop Jason> using it. I run into similar problems with netscape. When Jason> you right-click, the menu pops up but does not return

Re: Trouble installing JDK 1.1.6

1998-09-30 Thread Juergen Kreileder
> David Buddrige writes: David> Hi all, David> I have recently downloaded JDK 1.1.6 from David> ftp.progsoc.uts.edu.au/pub/Linux/java to run on my Redhat David> 5.1 system... I've un-tar'ed it into /usr/local/jdk1.1.6, David> and then added the following lines to my /etc/

Re: Swing menu problem

1998-09-30 Thread Juergen Kreileder
s. v4a, v5 work fine, only v2 shows the bug you described. Jürgen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: v4 patches?

1998-09-30 Thread Juergen Kreileder
have these fixes yet. There is a v4 version for i386 too and there should be no difference between the AWT parts of the ppc and i386 versions because the source is the same. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortm

Re: Write Once Run Anywhere?

1998-10-01 Thread Juergen Kreileder
looking for is package.1.class. No such class exists, Steve> but package. is the class containing the main method. What is the exact error message and what is the value of CLASSPATH? javac is written entirely in Java, so it should produce exactly the same results on Linux and Windo

Re: Netscape 4.05 support Java 1.1??

1998-10-02 Thread Juergen Kreileder
> Dan Kegel writes: Dan> Chi-Ming Yang wrote: >> I got netscape 4.05 that came with RedHat 5.1. >> Does it support Java 1.1? ... Dan> No. You need netscape 4.5pr2, I think. Yes, but netscape 4.06 supports Java 1.1 as well. >> I have JDK1.1.6 installed. Will that help n

Re: KDE Bug w/ window creation

1998-10-03 Thread Juergen Kreileder
ll shout at some kde people about this ;) AFAIK KDE from cvs now acts like most other window managers, i.e. the windows don't disappear anymore. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Sending objects down a stream problem

1998-10-18 Thread Juergen Kreileder
jects or close and open new Michael> streams for each one. You can use ObjectOutputStream::reset() instead of closing/opening new streams. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Zero sized display panes from recompiled jdk

1998-10-19 Thread Juergen Kreileder
ms that I know of. From the last >> LessTif build I did it still was a problem. John> Are you your'e saying is that there is no work-around? I did lots of lesstif bases builds and had no such problem. Make sure you are running a recent lesstif version. Juergen --

Re: Java Plugin doesn't work

1998-10-20 Thread Juergen Kreileder
es classes if you want to use RMI callbacks; you'll have to use getResourceAsStream instead of getResource, ... Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: 2D API

1998-10-24 Thread Juergen Kreileder
be at java.awt.geom, and it is a George> core class. Java2D is not part of Java 1.1, but it's a core API in the JDK 1.2. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Applets, AWT and Netscape (Code included)

1998-10-26 Thread Juergen Kreileder
> Carlos Alberto Roman Zamitiz writes: Carlos> Hi, Carlos> Here's the code: [...] Nice code, but it doesn't compile and it has no main method ;-) Carlos> On Sun, 25 Oct 1998, Dimitris Vyzovitis wrote: >> Could you elaborate a bit? >> >> Dimitris >> >> > I

Re: Applets, AWT and Netscape (Code included)

1998-10-26 Thread Juergen Kreileder
>>>>> Dimitris Vyzovitis writes: Dimitris> Juergen Kreileder wrote: >> >>>>> Carlos Alberto Roman Zamitiz writes: >> Carlos> Hi, Carlos> Here's the code: >> [...] >> >> Nice code, but it

Re: A bug in appletviewer

1998-10-27 Thread Juergen Kreileder
ng(s,5 + left ,40 + top); g.drawString(s2,5 + left ,80 + top); g.drawString(s3,5 + left ,120 + top); Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: A bug in appletviewer

1998-10-27 Thread Juergen Kreileder
>>>>> Juergen Kreileder writes: Juergen> On solaris, unix and other unix system the warning message is at Juergen> the top of the window. Should have been: With the JDK on solaris, linux and other unix system the warning message is at the top of the window. Juergen

Re: Applets, AWT and Netscape (2 questions)

1998-10-28 Thread Juergen Kreileder
> Carlos Alberto Roman Zamitiz writes: Carlos> My AlertDialog hasn't main method because it's included in Carlos> an applet. The applet's code creates an instance of Carlos> AlertDialog and then, appears the AlertDialog which is a Carlos> modal and no-resizable dialog. On LINU

Re: A bug in appletviewer

1998-10-29 Thread Juergen Kreileder
> John Summerfield writes: John> On Thu, 29 Oct 1998, John Summerfield wrote: >> >> I have seen insets mentioned in the JDK documentation, but only in the >> context of a ScrollPane. >> >> Seems I've some code to change. Sob. >> John> I'll assume that Inset

Re: JNI trouble with JNI_CreateJavaVM

1998-11-01 Thread Juergen Kreileder
se, ...). So you'll have to defer system calls until after the call to JNI_CreateJavaVM. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: JNI trouble with JNI_CreateJavaVM

1998-11-01 Thread Juergen Kreileder
vaVM ... JDK 1.1 does not support creating more than one VM in a single process. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: JNI trouble

1998-11-03 Thread Juergen Kreileder
Vanga> programs on linux. I have JDK-1.1.6 on both platforms Vanga> (jdk1.1.6v2 on linux). Could you please try again with the glibc 1.1.6v5 JDK? Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: DANGER!!

1998-11-06 Thread Juergen Kreileder
Come on, don't be silly! Take a look at: http://www.umich.edu/~wwwitd/virus-busters/hoaxes/unable.html and http://antivirus.miningco.com/library/blen0075.htm Juergen > Juan Carlos writes: Juan> Hi my friends! Juan> Don´t see The Budweiser Frogs BUDDYLST.ZIP (it´s an Screen

Re: A java problem with streams

1998-11-06 Thread Juergen Kreileder
te :-). Remove the for-loop and your program will work. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Anyone tried JNI Interface via dlopen/dlsym methods? I SEGV with it.

1998-11-10 Thread Juergen Kreileder
(the JNI spec says it does not work in '1.1.2' but it applies to all 1.1 JDKs, Sun only forgot to update the spec). The 1.2 documentation for DestroyJavaVM is more precise: 1.2 still does not support vm unloading and DestroyJavaVM *always* returns an error code. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: Native Library

1998-11-11 Thread Juergen Kreileder
> Ron Kinney writes: Ron> I hope that I am writing to the correct place. Any responses to this mail Ron> should be directed to this mail address for I have not subscribed to the Ron> list. Ron> Anyway, I installed jdk117_v1a on my linux system and whenever I type Ron> ja

Re: Native Library

1998-11-11 Thread Juergen Kreileder
>>>>> Juergen Kreileder writes: >>>>> Ron Kinney writes: Ron> I hope that I am writing to the correct place. Any responses to this mail Ron> should be directed to this mail address for I have not subscribed to the Ron> list. Ron>

Re: Runtime.exec ()

1998-11-19 Thread Juergen Kreileder
terminate, check the InputStream and Marius> ErrorStream. The streams are empty... Marius> Any hints? You need a shell if you want to use '>': Process p = Runtime.getRuntime().exec(new String[] { "/bin/sh", "-c",

Re: jdk_1.1.7-v1a missing headerfiles

1998-11-19 Thread Juergen Kreileder
> Robert C Pettengill writes: Robert> jdk_1.1.7-v1a-glibc-x86-native.tar.gz is missing most of Robert> the headerfiles in the inlude directory. We have a jni Robert> app that needs them. Are they unchanged from 1.1.6 or Robert> unchanged form the Solaris versions? The nativ

Re: annoyances with jdk1.1.7, Non risazable dialogs and KDE

1998-11-20 Thread Juergen Kreileder
log is not resizable - if it Dimitris> ever appears. Dimitris> I woudl appreciate any comments/ideas... It should work if you first open the dialog resizable and then set it non-resizable. Other options are using another wm or a recent KDE snapshot. I'll try to fix it f

Re: annoyances with jdk1.1.7, Non risazable dialogs and KDE

1998-11-20 Thread Juergen Kreileder
indow manager or Stewart> resized. There is an ugly code hack to fix this, but it Stewart> causes the window to flash on startup. Hm. This one does not occur with my tests, please send me some sample code. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuh

Re: Getting a full JVM thread dump

1998-11-24 Thread Juergen Kreileder
started java or 'kill -QUIT pid'. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: A bug in the parse method? (and more)

1998-11-26 Thread Juergen Kreileder
ior it doesn't have to be a Linux bug, but it means that there have been some changes to the java code between 1.1.5 and 1.2. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: JWindow.setLocation()

1998-11-27 Thread Juergen Kreileder
> Robert P Biuk-Aghai writes: Robert> I suspect it's a window manager problem. Which wm do you Robert> use? I too have noticed problems that I believe to be wm Robert> problems. In my case, using fvwm, when I start an Robert> application (extending JFrame from Swing 1.0.2) wi

Re: Using "setSize" with a Frame.

1998-11-28 Thread Juergen Kreileder
> John Summerfield writes: John> On Fri, 27 Nov 1998, Karthik Vishwanath wrote: >> Hi all, >> when i create an application as : >> public class Myapp extends Frame >> { >> public Myapp() >> { >> super("MyApp"); >> setSize(100,100); >> show(); >> }

Re: Using "setSize" with a Frame.

1998-11-29 Thread Juergen Kreileder
>>>>> John Summerfield writes: John> On 29 Nov 1998, Juergen Kreileder wrote: >> It opens a frame with the size 1100x100. John> You and I should read more closely. 1100x100 works correctly John> here. 100x100 doesn't. 100x100 works too. Juergen

Re: Using "setSize" with a Frame.

1998-11-29 Thread Juergen Kreileder
> Nelson Minar writes: >> If I use setSize(100,100); I get a frame that's smaller than that: >> something like 90x72 I think: I've deleted the source and can't be >> bothered retyping it. Nelson> Top level frame sizes unhelpfully include the size of the Nelson> window dec

Re: Porters: Performance suggestion

1998-11-30 Thread Juergen Kreileder
Gary> Does that mean the internals of arraycopy() look like this: Gary>for (int i=0; i < num_elements; i++) Gary> newArray[i] = oldArray[i]; No. arraycopy() is a native method but arraycopy(oldarray, 0, newarray, 0, num_elements) has the same effect has the above for-loop.

Re: installation

1998-12-02 Thread Juergen Kreileder
> paulmoody writes: paulmoody> Hi, paulmoody> I followed the install notes for jdk117 on redhat paulmoody> 51 and get the message CLASSPATH not set ??? when i paulmoody> try to use it , the notes say I dont paulmoody> have to do this. paulmoody> TIA an

Re: News group

1998-12-03 Thread Juergen Kreileder
reads too, I don't know about kaffe. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: BUG in java.awt.List

1998-12-07 Thread Juergen Kreileder
t behavior. What JDK version? With 1.1.6-v2 remove(0) (and removeAll()) didn't work. The bug is fixed in newer versions. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: How to do a thread dump from program?

1998-12-07 Thread Juergen Kreileder
} catch (IllegalMonitorStateException e) { e.printStackTrace(); } } Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: How to do a thread dump from program?

1998-12-07 Thread Juergen Kreileder
>>>>> Mario Camou writes: Mario> Juergen Kreileder wrote: >> >>>>> Mario Camou writes: >> Mario> Hi, Mario> I'm having some problems with threads, so I need to do a Mario> thread dump (same thing that Ctrl-\ doe

Re: Help!

1998-12-09 Thread Juergen Kreileder
> Carlos Alberto Roman Zamitiz writes: Carlos> Hi, yesterdar root had a problem with his linux server and Carlos> I don't know certainly what happened but today I typed: Carlos> lcomp98.fi-b.unam.mx carlos>javac HolaMundo.java Carlos> No library path set. Carlos> I revi

Re: Changed system properties ignored

1998-12-10 Thread Juergen Kreileder
I assume that the 1.1.5 behavior is correct. No bug, the 1.1.7 behavior is correct too! There is no guarantee that changing properties at runtime has an effect. Usually properties get evaluated once at startup. If you change the value of a property, it may or may not be re-evaluated. Juer

Re: BUG? Modal dialogs don't call subclass constructors!!!

1998-12-11 Thread Juergen Kreileder
Dimitris> jdk1.1.7a (still there ;-} ) If show() doesn't block immediately on windows then it's a bug in windows JDK. Juergen -- Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V Baroper Strasse 301, D-44221 Dortmund, Germany Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Re: BUG? Modal dialogs don't call subclass constructors!!!

1998-12-11 Thread Juergen Kreileder
>>>>> Dimitris Vyzovitis writes: Dimitris> [1 ] Dimitris> Juergen Kreileder wrote: >> >>>>> Dimitris Vyzovitis writes: >> Dimitris> Hi everyone, Dimitris> It appears there is a nasty bug in a modal dialog's

Re: BUG? Modal dialogs don't call subclass constructors!!!

1998-12-12 Thread Juergen Kreileder
> Dimitris Vyzovitis writes: >> I wrote a short program and tested it with 1.1.7, 1.2 (both with >> green and native threads) on Solaris and with 1.1.7 (green threads >> and native threads) and 1.2 native threads (not available yet) on Linux: >> All show the same behavior -- t

Re: How can I debug Java Program??

1998-12-13 Thread Juergen Kreileder
> Darius Bacon writes: >> Subject: Re: How can I debug Java Program?? >> >> Hi Han, >> There are different approaches one can take on debugging a Java program: >> 1) Using System.out.println's at places you expect trouble. >> 2) Use a debugMode boolean property throuh

  1   2   3   4   5   >