Re: Const in java

1999-10-14 Thread Vartan Piroumian
method. > > On Thu, 14 Oct 1999, Vartan Piroumian wrote: > > > Hi folks, > > > > All parameters are ALWAYS passed by value in Java. > > > > When the parameter being passed is an object reference it is the > > VALUE OF THE REFERENCE that is

Re: Const in java

1999-10-14 Thread Vartan Piroumian
Hi folks, All parameters are ALWAYS passed by value in Java. When the parameter being passed is an object reference it is the VALUE OF THE REFERENCE that is passed by value, not the object being referenced. This may seem like a moot distinction, but it is not. A method cannot destroy the ref

Problem making an instant of a class.

1999-10-03 Thread Vartan Piroumian
Wayne writes: > Hello, > I have looked thru all my java books looking for an answer to my > problem, > but I'am not not able to find a solution. So, I thought I ask the group. > > I hava a class A that extends Frame and contains the main() method. In > this class I have several Button co

Re: swing and syntax question

1999-09-27 Thread Vartan Piroumian
is the top-level container that contains the rest of your GUI. I don't intend the following to be a shameless plug :-) but my recently released book covers all these concepts in the context of structuring your apps. "Java GUI Development" Vartan Piroumian Sams ISBN 0-672-31

Re: Having trouble with zapf dingbats font

1999-09-24 Thread Vartan Piroumian
Hello everyone, OK, here's what worked for me. I first installed the URW fonts from the www.gimp.org website, as instructed on the blackdown.org bug report page. This eliminated the "zapf dingbats not found" errors. Then, all text disappeared from all Swing components. A helpful gentleman,

Problem with Fonts

1999-09-19 Thread Vartan Piroumian
Hi folks, SuSe Linux 6.1 Blackdown JDK 1.2 pre-v2, glibc2.0 I installed the GIMP URW fonts to eradicate the "zapf dingbats not found" error messages. And, yes, the errors are gone. But now I have an even more disconcerting problem. Swing components do not render properly. AWT: The ONLY f

RE: package problem

1999-09-11 Thread Vartan Piroumian
Roland, Give the package name foobar.Foo to the VM. Otherwise, it's looking for a file Foo.class in your current directory, but you moved it to directory foobar. See trace below. Vartan $ pwd /home/vartan/scratch $ ls Bar.java Foo.java READMEfoobar $ javac *.java $ ls Bar.class Bar.j

Having trouble with zapf dingbats font

1999-08-27 Thread Vartan Piroumian
Hi folks, I did read the Known Bugs and Problems page, and installed the URW fonts as directed, but I'm still getting errors such as Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] etc., etc. My SuSe 6.1 system actually has more f

OS and libc version compatibility?

1999-08-21 Thread Vartan Piroumian
A few of you responded to my question about the following error: $ java /usr/local/java/bin/i386/green_threads/java: error in loading shared libraries libhpi.so: cannot open shared object file: No such file or directory $ It seems to be an incompatibility between my glibc 2.0 and the JDK 2.1 th

libhpi.so: cannot open shared object file: No such file or directory

1999-08-16 Thread Vartan Piroumian
Hi folks, I downloaded the glibc2.1 version of the JDK 1.2 release. It installed fine. But I'm having trouble running it. $ javac FontDemo.java /usr/local/java/bin/i386/green_threads/javac: error in loading shared libraries libhpi.so: cannot open shared object file: No such file or directory