GLibc-2.1 and JDK1.2pre-v1
Well, although many people has reported strange problems with glibc-2.1, it is working ok here (I would say that it is working faster, but I have no benchmarks) and it supports things like Unix98 pty and more. The only problem (ignoring some weird apps like StarOffice 5.0) is that some binaries linked against libstdc++ doesn't work anymore, one of them is JDK, so I would like to know if is there any plans to make a glibc-2.1 version of the JDK1.2 available? If you don't have a glibc-2.1 system I could compile it myself or if you want to do it yourself contact me, maybe I can provide access to a dual PII300 with "latest everything" installed on it, and fast (4Mb/s) Internet access in order to compile it on it. - german PS: Reply also to my address because I'm not subscribed to the list (four high traffic lists are more than enough for me, sorry) <>-+---<> One O.S. to rule them all, | German Gomez Garcia One O.S. to find them. | [EMAIL PROTECTED] One O.S. to bring them all | and in the darkness bind them. | "Wur Qanar Wur Stilor Wur Kas" <>-+---<> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
idltojava and Java Plug-in
Hi guys, Thanks for your great work. I have installed JDK1.2pre1 in a Debian 2.0 system and I have no problems using javac and java. But you know, we need other tools for our Java development. Can you tell me the plans for the JDK 1.2 plugin ? And who is responsible for the idltojava compiler ? Without this piece we can't develop CORBA programs. The people at Sun could develop idl2java in Java. Bye for now guys -- Alvaro -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: idltojava and Java Plug-in
You can try the new idlj compiler in the RMI-IIOP distribution. I'm on NT now and I don't remember which platforms are fully supported (the bridge includes new serialization DLLs) but the IDL compiler is PureJava, and better than that old clunky idltojava which is probably dead. From: Alvaro del Castillo <[EMAIL PROTECTED]> >And who is responsible for the idltojava compiler ? Without this piece >we can't develop >CORBA programs. The people at Sun could develop idl2java in Java. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: anyone using JDK1.2(beta)
[EMAIL PROTECTED] wrote: > > I am downloading the latest JDK1.2 betafrom > ((http://www.tux.org/pub/java/JDK-1.2/i386/pre-v1/)) > is anyone currently using it? where there any problems with installation or code > porting? No problems yet. Only thing I'm missing is the idltojava compiler, which is only available for windows and solaris, and hasn't been updated for months :-<. mvh mike. -- #include --- (Ingeniør) Michael Nielsen BE(Hons) work email: [EMAIL PROTECTED] telf: +45 9828 4611 x 26 Private email : [EMAIL PROTECTED] fax : +45 9828 4565 --- At arbejede er godt, så længe man husker at leve! (To work is good as long as we remember to live!) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jdk 1.2 and kernel 2.2.x?
David Cougle wrote: > > It seems that jdk 1.2 is ready for x86 machines with 2.2.x(no kernel > bug). You cannot release it just to us? I believe that is what they have done, check the mirrors. mvh mike. -- #include --- (Ingeniør) Michael Nielsen BE(Hons) work email: [EMAIL PROTECTED] telf: +45 9828 4611 x 26 Private email : [EMAIL PROTECTED] fax : +45 9828 4565 --- At arbejede er godt, så længe man husker at leve! (To work is good as long as we remember to live!) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK1.2 size question
[EMAIL PROTECTED] (Anand Palaniswamy) writes: > It is possible to unmap memory and return it to the OS on Linux. I am > sure Emacs does that. The classic VM garbage collector can not do > that. It wants to keep the memory mapped (so it can always be sure > that the heap is contiguous -- unmmapping might lead to someone else > stealing the part you just unmapped). The trick classic VM uses on > Solaris and on Windows is to keep the heap mapped but not have any > swap committed to it (which is slightly different from completely > unmapping it). > > Emacs can probably deal with discontiguous heaps. (Infact I wouldn't > be surprised if there is a special heap for large files). Out of curiosity, I traced the system calls. Emacs is calling brk(), there is no mmap() activity. My recollection is that this is a feature of the GNU malloc package. Classical mallocs do not know how to return memory to the system by decreasing the data segment size. GNU malloc does. Joe Buehler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
SSL
Hello About a week ago I have asked this, but I didn't get an answer. So I assume it again. I use a Java plugin 1.2 and I want to use SSL conections with it. But I get this Exception: SSLException: (no cipher suites in common) Has anybody an answer for it? Or what is the possible mistake? Zoltan Tar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: idltojava and Java Plug-in
Osvaldo Pinali Doederlein wrote: > > You can try the new idlj compiler in the RMI-IIOP distribution. I'm on NT > now and I don't remember which platforms are fully supported (the bridge > includes new serialization DLLs) but the IDL compiler is PureJava, and > better than that old clunky idltojava which is probably dead. unfortunately it is not better, and is actually (if possible) more clunky than the old idltojava, which we are still using. mvh mike. -- #include --- (Ingeniør) Michael Nielsen BE(Hons) work email: [EMAIL PROTECTED] telf: +45 9828 4611 x 26 Private email : [EMAIL PROTECTED] fax : +45 9828 4565 --- At arbejede er godt, så længe man husker at leve! (To work is good as long as we remember to live!) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Dynamically modifying CLASSPATH
Can one dynamically modified the CLASSPATH within Java and to create an
application that loads classes from a modified class path?
For example:
Properties propsJVM = System.getProperties();
String ncp = extraClassPath + pathSep +
System.getProperty("java.class.path");
propsJVM.put("java.class.path",ncp);
The next step is thus
try { Class.forName("org.xenon.FunkyDancer"); }
catch ( ClassNotFoundException e ) { ... }
This does not work for me on JDK1.1.7 sparc-sun-solaris-2.5.1 ?
But can this sort of code work?
Peter
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Dynamically modifying CLASSPATH
[EMAIL PROTECTED] writes: > Can one dynamically modified the CLASSPATH within Java and to create an > application that loads classes from a modified class path? Yes, you can write your own classloader to extend the loading process dynamically. I.e. to load classes from a dir. not in your current CLASSPATH. Have a look at: http://www.javaworld.com/javaworld/jw-01-1999/jw-01-techniques.html -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Dynamically modifying CLASSPATH
On Mon, 8 Mar 1999 13:16:36 +, [EMAIL PROTECTED] wrote: >Can one dynamically modified the CLASSPATH within Java and to create an >application that loads classes from a modified class path? [...] >This does not work for me on JDK1.1.7 sparc-sun-solaris-2.5.1 ? >But can this sort of code work? I believe you need to make a simple class loader to add your own path elements at run time from within Java. It is not a difficult thing to do. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
egcs-1.1a libstdc++ and jdk1.2
Hi. Sorry if this is a repeat - I don't watch the list. The JDK1.2 prerelease seem to run fine on a Redhat 5.2 with all updates installed if you do ln -s /usr/lib/libstdc++.so.2.8.0 /usr/lib/libstdc++-libc6.0-1.so.2 Redhat doesn't have the latter. Since I had installed egcs1.1a, I noticed that linking to the 2.9.0 version that comes with that package does not work: ... undefined symbol: __frame_state_for The 2.9.0 library also seems to be stripped. I had pulled the egcs1.1a (I think) off of the Redhat contrib site, but I can't be sure of it. In any case, the above link should work. Hope this helps someone. Thanks to the porting team. JwL. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: NATIVE CODE
Look in $(JDK_HOME)/include/genunix/ [EMAIL PROTECTED] on 03/06/99 07:46:01 AM To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: NATIVE CODE Dear sir, I use linux OS. I want to include a "C" function for writing into sound card in a real-time application using the "JNI". I wrote the "C" function and created the corresponding header files. When I try to compile the "C" file, it gives an error message saying that the header file "jni_md.h" is not present. The file "jni_md.h" is included in the header file "jni.h". But, it is not there in the include directory. It was not provided to us during download. Is the file "jni_md.h" essential and if it is essential, where do I get it from? I have one more question: Is there a possibility of writing raw(PCM bytes) in to the sound card directly, without resorting to the native "C" implementation?i.e I want to know whether I can do linux audio programming using java? Thanking you and awaiting an early reply, Yours sincerely, Dinesh D. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: GLibc-2.1 and JDK1.2pre-v1
At 9:30 AM +0100 3/8/99, German Jose Gomez Garcia wrote: > Well, although many people has reported strange problems with >glibc-2.1, it is working ok here (I would say that it is working faster, >but I have no benchmarks) and it supports things like Unix98 pty and more. > The only problem (ignoring some weird apps like StarOffice 5.0) is >that some binaries linked against libstdc++ doesn't work anymore, one >of them is JDK, so I would like to know if is there any plans to make >a glibc-2.1 version of the JDK1.2 available? If you don't have a >glibc-2.1 system I could compile it myself or if you want to do it yourself >contact me, maybe I can provide access to a dual PII300 with "latest >everything" installed on it, and fast (4Mb/s) Internet access in order to >compile it on it. I'm using glibc2.1 on Libux 2.2.2-ac7 , JDK1.2pre1 is working ok for me. (green thread, no jit) Exactly what kind of problem do you have? Paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What should one download, exactly?
The URW fonts are included as an RPM on the RedHat 5.2 CD. I don't think they get installed by default, however. (???) Russ [EMAIL PROTECTED] on 03/07/99 05:14:40 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: Russell Pridemore/Lex/Lexmark) Subject: Re: What should one download, exactly? You need to install the URW fonts. These are nice, scalable fonts. The web page has documentation on installing them. http://www.gimp.org/fonts.html Nick Bailey wrote: > Congratulations on the 1.2 port! Can't wait to get it going. > Unfortunately, I've got a 28k8 modem, but all is not lost: I can blow CD > ROMs at work which also has a fast internet link. > > So the question is: could somebody with a similar system to mine at home > (Red Hat 5.2) suggest exactly what I need to download? The JDK, > obviously, but I was saw something on the digest about needing extra > fonts for swing to work nicely. It would be a great help if sombody > could post or send me a list of the necessary ingredients: with any luck, > I'll get away with blowing only one CD-ROM. 8-) > > I normally use XEmacs and JDE for editing, but netbeans looks good... > > All the best, > > Nick/ > > > E-Mail: Nick Bailey <[EMAIL PROTECTED]> > Web page: www.polonius.demon.co.uk > Date: 07-Mar-99; Time: 18:12:18 by XFMail v1.3 > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Grace and peace to you from God our Father and the Lord Jesus Christ, David Guthrie You need to install the URW fonts. These are nice, scalable fonts. The web page has documentation on installing them. http://www.gimp.org/fonts.html Nick Bailey wrote: Congratulations on the 1.2 port! Can't wait to get it going. Unfortunately, I've got a 28k8 modem, but all is not lost: I can blow CD ROMs at work which also has a fast internet link. So the question is: could somebody with a similar system to mine at home (Red Hat 5.2) suggest exactly what I need to download? The JDK, obviously, but I was saw something on the digest about needing extra fonts for swing to work nicely. It would be a great help if sombody could post or send me a list of the necessary ingredients: with any luck, I'll get away with blowing only one CD-ROM. 8-) I normally use XEmacs and JDE for editing, but netbeans looks good... All the best, Nick/ E-Mail: Nick Bailey <[EMAIL PROTECTED]> Web page: www.polonius.demon.co.uk Date: 07-Mar-99; Time: 18:12:18 by XFMail v1.3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Grace and peace to you from God our Father and the Lord Jesus Christ, David Guthrie
Re: how to remotely launch java (nt, linux) ? (off-topic...)
Doesn't JINI address problems like this? [EMAIL PROTECTED] on 03/07/99 07:39:52 PM To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: how to remotely launch java (nt, linux) ? (off-topic...) Hello, this is definitely off topic, but I'm hoping someone here might have some relevant experience. (I'm not sure where the best place to post this is, or how to best phrase it even...the Java-linux readers are intelligent and speak language that I understand at least) I'd like to use a java RMI "daemon" as a process launcher for a farm of Linux and NT machines. In other words, I somehow run a java master process on each machine and can then, using RMI, tell this process to run commands on that box. Under Linux I can simply "rsh" from one master machine to start the Daemon on each machine. My question: is there any way to start a java program on NT either remotely, or automatically (e.g. is there an autoexec.bat script that can be used to start it??) More background: - there are a lot of machines, logging on to each one to start the process will be tedious. - My background is Java & some Unix, I don't know NT at all and am using Java to mostly isolate the application from the platform difference. (The RMI process server thing seems to work OK under NT once I get it launched...) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Dynamically modifying CLASSPATH
Don't worry I have figured it out.
Peter
__ Reply Separator _
Subject: Re: Dynamically modifying CLASSPATH
Author: sfloess ([EMAIL PROTECTED]) at lon-mime
Date:08/03/99 13:24
Peter:
You can't modify the system class path. However, if you create your own class
loader, than you can do it with the classloader. If you do not understand,
please reply...
[EMAIL PROTECTED] wrote:
> Can one dynamically modified the CLASSPATH within Java and to create an
> application that loads classes from a modified class path?
>
> For example:
>
> Properties propsJVM = System.getProperties();
> String ncp = extraClassPath + pathSep +
> System.getProperty("java.class.path");
> propsJVM.put("java.class.path",ncp);
>
> The next step is thus
>
> try { Class.forName("org.xenon.FunkyDancer"); }
> catch ( ClassNotFoundException e ) { ... }
>
> This does not work for me on JDK1.1.7 sparc-sun-solaris-2.5.1 ?
> But can this sort of code work?
>
> Peter
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
All I need for JDK1.2
Double Checking download "stuff" for JDK1.2 All I need to install the JDK1.2 is: 1_2.tgz 36,218KB the JDK1.2 itself urw-fonts_tar.gz 1,509KB GIMP fonts anything else? Steve Gee Maxor National Pharmacies Information Technologies Java Developer [EMAIL PROTECTED] www.maxor.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to remotely launch java (nt, linux) ? (off-topic...)
> From: "Michael Sinz" <[EMAIL PROTECTED]> > On Mon, 08 Mar 1999 00:39:52 +, Context Grey wrote: > > >My question: is there any way to start a java program on NT > >either remotely, or automatically (e.g. is there an autoexec.bat > >script that can be used to start it??) > > Well, depends on the program. If it does not interact with the > display or console then you can use the NT Resource Key tool > that lets you run any program as a service and have it auto-started > when NT boots. Or you can just use "telnet" to start a terminal session on the NT machine. Yes, you can. M. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debugger API's
Does the blackdown JDK provide the debugger package like sun.tools.Debug ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to remotely launch java (nt, linux) ? (off-topic...)
Off-topic it is : If you want a more autonomous envoirment you can use JNI to run JVM that run as background NT services. I am doing just that at a major Commercial bank where ATM ( Automated Teller Machine ) transaction are captured through sockets and stored in RDMS to be presented to RMI clients applets. All of the service's code, RMI registry and any other middleware code is written in 100% pure java. The portion of the code that actully glues the JVM to an NT service is written is C++ using the JNI invocation APIs and the NT service management APIs. If you are interested in the JNI JVM invocation code let me know and I'll e-mail it to you. PS: Note the current code requires the new invocation apis from the Java2 implementation Cheers Chris [EMAIL PROTECTED] wrote: > > From: "Michael Sinz" <[EMAIL PROTECTED]> > > > On Mon, 08 Mar 1999 00:39:52 +, Context Grey wrote: > > > > >My question: is there any way to start a java program on NT > > >either remotely, or automatically (e.g. is there an autoexec.bat > > >script that can be used to start it??) > > > > Well, depends on the program. If it does not interact with the > > display or console then you can use the NT Resource Key tool > > that lets you run any program as a service and have it auto-started > > when NT boots. > > Or you can just use "telnet" to start a terminal session on the NT > machine. Yes, you can. > > M. > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
null layout?
I have a frame in which I would like to use no layout manager so that I
can directly position elements where I want them.
I use the following code, in the constructor of a class that descends
from Frame:
setSize(600,380);
setLayout(null);
Label label=new Label("Hi there");
label.setBounds(10,10,200,20);
add(label);
Is there anything wrong with this? This is what I do on other platforms
and works fine. However, unless I use a layout manager, I cannot see
this label show up on the window.
--
Kevin White, Software Engineer
Envision Telephony
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: null layout?
On Mon, 08 Mar 1999 15:03:49 -0700, Kevin White wrote:
>I have a frame in which I would like to use no layout manager so that I
>can directly position elements where I want them.
>
>I use the following code, in the constructor of a class that descends
>from Frame:
>
>setSize(600,380);
>setLayout(null);
>Label label=new Label("Hi there");
>label.setBounds(10,10,200,20);
>add(label);
>
>Is there anything wrong with this? This is what I do on other platforms
>and works fine. However, unless I use a layout manager, I cannot see
>this label show up on the window.
Where is the addNotify()? (Just a guess... But that is what sets up
the peer...)
Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] - http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java 2 (JDK 1.2) pre-release for PowerPC now available!
Blackdown Java-Linux Porting Team member Kevin Hendricks posted the announcement today about the availability of a pre-release version of Java 2 (aka JDK 1.2) for PPC Linux: - Announcing Pre-Release version 1 of Sun's JDK 1.2 (Java 2) for Linux on PowerPC from the Blackdown JDK porting team! This is a *pre-release* version of JDK 1.2 - passed all non-interactive JCK tests for compiler, runtime-vm, and runtime lang (the remaining tests have not been run yet). - both green (very stable) and native threads (beta at best) - green threads is the default. to force either threads type use: java -green XX or java -native X - for glibc 1.99 (DR3, R4, R4.1) (No R5 glibc 2.1 version yet) - NO Metrowerks JIT (Just-in-Time) compiler is available *yet* (jit interface changed significantly from JDK 1.1.7 to JDK 1.2) - This port is statically linked with Motif 2.1. - This port was developed under a sepcial Sun's license agreement with Blackdown via Steve Byrne (Thank you Steve!) Please note: All of the development and testing was done using Paul Mackerras's Linux-PMac 2.2.1 kernel with Gary Thomas's latest glibc 1.99 (1o) installed over DR3/R4 user space. The home website is still: http://business.tyler.wm.edu/mklinux but Apple via Gilbert Coville has graciously provided a mirror site for all of the files needed for the JDK to run on LinuxPPC / MkLinux ftp://ftp.mklinux.apple.com/pub/contrib/JDK/ I hope you enjoy the numerous improvements available in JDK 1.2 Thanks, Kevin Hendricks ...with a special thanks to the other Blackdown Porting Team members: Steve Byrne, Juergen Kreileder, Johan Vos, Anand Palaniswamy, David Connelly, Karl Asha, Kars de Jong, Scott Hutinger, Michael Sinz, and Brad Crochet; and to Kevin Buettner for doing the initial JDK 1.1 porting work to PowerPC. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: null layout?
On Mon, 8 Mar 1999, Kevin White wrote:
> I have a frame in which I would like to use no layout manager so that I
> can directly position elements where I want them.
>
> I use the following code, in the constructor of a class that descends
> from Frame:
>
> setSize(600,380);
> setLayout(null);
> Label label=new Label("Hi there");
> label.setBounds(10,10,200,20);
> add(label);
>
> Is there anything wrong with this? This is what I do on other platforms
> and works fine. However, unless I use a layout manager, I cannot see
> this label show up on the window.
On which platforms does it work fine?
I don't think there is anything wrong with this. I just tried it
on the pre-release of JDK1.2, using a remote X server, and I
noticed the label briefly appear and then disappear (which may
happen too fast to be noticeable on a local X server), so I think
this is probably a bug in the Motif AWT peers on Linux.
I also tried it using my prototype GTK AWT peers, and the
label did appear (although I don't think it was in quite the
right place, so I also have a bug).
Nigel Gamble[EMAIL PROTECTED]
Mountain View, CA, USA. http://www.nrg.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java2
I'd like to say thanks and well done to the porting team. Keep up the great work guys. Chris Dynamic Solutions Pty Ltd http://www.dynamic.net.au/christos 414 Gilbert Road [EMAIL PROTECTED] Preston, Victoria 3072 61 3 94718224 - voice Australia 61 3 94711622 - fax -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: null layout?
> Kevin White writes:
Kevin> I have a frame in which I would like to use no layout
Kevin> manager so that I can directly position elements where I
Kevin> want them.
Kevin> I use the following code, in the constructor of a class
Kevin> that descends from Frame:
Kevin> setSize(600,380);
Kevin> setLayout(null);
Kevin> Label label=new Label("Hi there");
Kevin> label.setBounds(10,10,200,20);
Kevin> add(label);
Kevin> Is there anything wrong with this? This is what I do on
Kevin> other platforms and works fine. However, unless I use a
Kevin> layout manager, I cannot see this label show up on the
Kevin> window.
Your code will fail on other platforms too, e.g. Solaris.
The label is behind the Frame's title bar. When you don't use
a layout manager you have to take care of insets yourself. Unfortunately
Frame.getInsets() returns false values until the frame has been mapped
for the first time.
When the frame is already visible the following code should work:
Insets insets = getInsets();
label.setBounds(10 + insets.left, 10 + insets.top, 200, 20);
Juergen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debugger API's
Dave Larson wrote: > > Does the blackdown JDK provide the debugger package like > sun.tools.Debug ? You should find the package sun.tools.debug in $(JAVA_HOME)/lib/tools.jar . Nathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JVMDI
Now that we can't nag about JDK1.2, I'll reluctantly break the ice on another availability question: Any plans afoot to do the JVMDI (native JVM Debugger Interface) on Linux? Nathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
