Off-Topic (JNI)

1999-07-25 Thread Nagaraj S.B
Hi Jini users, Excuse me for asking this question !!.It is a part of my Jini Service which uses Java Native interafce with C.I am new to Java, I have written a small java code which calls a C function by passing a string array(2D). Following is the native function C code which prints garbage when

Linux JDK applets on other platforms

1999-07-25 Thread Glenn Valenta
I can't get some of my applets to run on any other platforms other than Linux/Netscape. I have a few more complicated projects that I've been working on that I can't get to run on IE or anything Mac based. The simple stuff works, but as soon as I throw in frames, I seem to not be able to have oth

Re: Problems with Java 1.2 pre-v1 on Linux

1999-07-25 Thread Nagaraj S.B
Nacho Mayorga wrote: > > Madrid, July 23rd 1999 > > Hi, > > I've got Java 1.2 pre-v1 installed on RedHat 6.0. While trying to > compile (javac) one version of the world-infamous HelloWorld applet > (just for trying purposes) the following error occurred: > > *** panic: GC: getS

KeyBoard events don't work in jdk117_3.

1999-07-25 Thread Bob Cadenza
Hello, As I previously posted, I can't get keyboard events to work with the blackdown jdk117_v3. Can someone please test on your own versions to see if the samething happens with you. Thanks, Bob import java.applet.*; import java.awt.*; import java.awt.event.*; public class KeyTest extends Ap

Comments about JDK1.2pre-v2

1999-07-25 Thread Matthew Brown
Hello, I dowloaded and setup my machine to use JDK1.2pre-v2(by switching from a 16bp to 32bp) and from screen resolution(1280x1024 to 1024x768..:() so that I can try out swing to see if it works. Well, here are my observations: 1)Seems 1.2 runs faster than 1.1 2)Did run out of memory(I know

Graphics Acceleration

1999-07-25 Thread kiprian
I am using Jdk1.2 in a standard Red Hat 5.1 and my computer is equipted with Virge display card. When i am trying to use graphics in my programs i am getting a drammatical reduction in the program speed while this is not the case when the programs are running in Nt or 98. My first thought is th

Error : Too many open files

1999-07-25 Thread Vijaykumar Krishnaswamy
Hi, Hi I have an application, where it is absolutely necessary to open multiple sockets, in the tune of 50's.But the system does not allow me to do this and infact throws a socketexception with the error message as "Too many open files". AFAIK, the OS allows(solaris, linux) an applicatio

Re: READING HTML files from within zip or jar files

1999-07-25 Thread Louis Tribble
Sterling Moses wrote: > > Is there a quick and dirty way to read into memory (either String or > StringBuffer) the contents of an .html file stored with a .jar or .zip. > > The java classes reading these files will be stored within the same .zip > file. I need to read the .html files without rea

READING HTML files from within zip or jar files

1999-07-25 Thread Sterling Moses
Is there a quick and dirty way to read into memory (either String or StringBuffer) the contents of an .html file stored with a .jar or .zip. The java classes reading these files will be stored within the same .zip file. I need to read the .html files without really referencing the name of the zip

Re: Jrun on linux and apachie?

1999-07-25 Thread Nathan Meyers
Dimitris Vyzovitis wrote: > > Rachel Greenham wrote: > > > > > > This is not absolutely true. > > > There are case where your dynamic content includes generated/altered > > > images. > > > You need X for awt/java2D to work. > > > > Yes, this is true. Luckily I haven't needed this once. We tried

Re: Jrun on linux and apachie?

1999-07-25 Thread Dimitris Vyzovitis
Rachel Greenham wrote: > > > This is not absolutely true. > > There are case where your dynamic content includes generated/altered > > images. > > You need X for awt/java2D to work. > > Yes, this is true. Luckily I haven't needed this once. We tried to write > software to manipulate images witho

Re: Invalid DatagramSocket option

1999-07-25 Thread Matthias Pfisterer
Hi, I remember hearing that there was a problem with multicasting due to a bug in the Linux kernel 2.0.36. This should be solved with the 2.0.37 kernel (and perhaps a special patch, don't remember exactely). Try to check the blackdown site for details. Matthias Pfisterer Larry Hsiao wrote: >

Re: Upper Case

1999-07-25 Thread Matthias Pfisterer
Hi, use: String myString = "lowercase content"; String anotherString = myString.toUpperCase(); And please, next time try to invest some effort in looking up such things in the Java documentation. This question would have easily be answered by scanning the doc of the class java.lang.String for a