Re: First Step

1999-06-02 Thread Alex M.
First thing: remove kaffe If you're on redhat, do: rpm -q kaffe to see if it's installed. If it is, use rpm -e to remove it -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact

Re: jre and redhat 6

1999-07-07 Thread Alex M.
That's really strange that you are having that much trouble. Here's what I did to install java on RedHat 6: install redhat (easier than Windows, btw) uninstall kaffe (rpm -e kaffe) install jdk1.2-pre2 for linux And everything worked from there. Just to be sure, I even installed the 1.1.7 jdks,

Re: rh6 and linux solved

1999-07-07 Thread Alex M.
On Wed, 7 Jul 1999, steve patient wrote: > know where the jar files are. I wish someone had told me earlier about jar > files. It sort of explains why I couldn't find so many of the files Oh... well... we thought everyone knew about those. :P :) Seriously though, I have that annoying problem of

Re: Which "IDE" for Suse Linux?

1999-07-07 Thread Alex M.
Emacs with JDE On Wed, 7 Jul 1999, Alexander Schatten wrote: > which "IDE" can you recommend for Suse Linux V6 and Java 2. I just tried > Netbeans, and heard something about Kaffe? can someone give me more > hints? > > thanx > > Alex > > >

Re: JAVA multithread questions.

1999-07-08 Thread Alex M.
You create threads by making classes that implement runnable or extend thread. Calling .start() on those classes will make the code in the run() method of those classes execute in a new thread. So, that code should be your network connecting code. Good place to start is java.sun.com, follow the

Re: Debugging Java on Linux

1999-07-08 Thread Alex M.
Well, JDE for emacs is supposed to have a nice debugger interface, but I haven't used it. If you are coming from the windows GUI world, you would probably like the JDE. It's on the third party java-linux tools on blackdown's page. On Thu, 8 Jul 1999, Christian Cryder wrote: > Hi all, > > Can

Re: display text

1999-07-12 Thread Alex M.
That's because there is is no constructor for TextArea(byte[]). To do what you are doing you need to convert the byte array into a String. Remember, Java is not C. Characters are unicode and thus 2 bytes long. Strings are made up of unicode characters, not ASCII. -

Re: Java IDE for Linux?

1999-07-22 Thread Alex M.
emacs or xemacs with JDE is what I like the best so far. I've looked at NetBeans, and it's okay, but a little slow. I do like Together/J and Structure Builder that integrade modeling tools with code generation. On Thu, 22 Jul 1999, Guillermo Payet wrote: > > Hello, > > Can someone recommend

Re: Constructor/Inheritance wierdness

1999-07-27 Thread Alex M.
I've never seen that. I've only seen constructors called like: super(param1, param2, ...); On Tue, 27 Jul 1999, Tim Reilly wrote: > Hi, hopefully this one's a quickie. I'm using blackdown jdk 117v3 and > getting the following error message when compiling my TemplateList class. > > Ac

Re: Newbie question

1999-07-30 Thread Alex M.
Like my compadres before me said, native threads run at the OS level, and therefore can access multiple cpus. However, it is my understanding that this is the only time native threads should be used. On single processor systems, green threads are faster, and you aren't limited by any process lim

Re: X-server

1999-08-25 Thread Alex M.
http://www.uk.research.att.com/vnc/index.html On Wed, 25 Aug 1999, Hanno Saks wrote: > Hi! > > Is out there available (or is even possible to do) any applets which can act > in framed HTML page as Xserver client > > Hanno > > > --

Re: Sometimes easy things are hard/impossible in Java

1999-09-09 Thread Alex M.
> I think a better solution is to override getForeground / getBackground > of the component to return something related to it's parents? So now you have to override all the gui components just to override one method? I would think that would be a lot of work for very little gain, not to mention

Re: Sometimes easy things are hard/impossible in Java

1999-09-09 Thread Alex M.
> When writing gui apps, most of the time i have to override most of the > components anyway, except for generic items such as buttons. But this is > the only way i see to implement color themes, because it works when you > add/remove components dynamically. The recursive setColor won't work in >

Re: want to use swing

1999-09-10 Thread Alex M.
Yes, you can download swing from java.sun.com/products/jfc/index.html On Fri, 10 Sep 1999, Sitanshu Bhusan Nanda wrote: > Hi, > > Can i use swing in jdk1.1.5? > Where can i download swing.jar or anything other than that which will > help me to use swing in my programs. > > Thanx. > Sitansu.

Re: Float -> Double conversion bug ?

1999-09-24 Thread Alex M.
That is actually documented I believe. It's not limited to jdk1.2. I don't know why it can't be just 0.3 but it is. This is why the language spec says not to compare floats and doubles without casting, you will always get negative results even though you think you should have a posi

Re: ¿How do it?

1999-09-27 Thread Alex M.
java.lang.runtime.exec On Sun, 26 Sep 1999, Juan Carlos wrote: > Hi friends, > > ¿How to execute an linux command, to obtain any > information, using Java?  (ex:  the CAT command).  > I have Red Hat version 5.3, and jdk1.1.5. > > Thanks > > > > ___

Re: Java and Enlightenment

1999-09-30 Thread Alex M.
I noticed this too under JDK 1.1.7 on Solaris 2.6. Some dialogs would move when you mouse over them. It seemed WM specific though. I had the problem running FVWM2 on Xfree86, but using Solaris CDE the problem wasn't present. The other thing was that the only application I noticed this kind of

Re: Changing the font on Swing slider

1999-10-08 Thread Alex M.
Yeah... I think it is in com.sun.plaf.DefaultLookAndFeel or something like that. On Fri, 8 Oct 1999, Jacob Nikom wrote: > Do you know where the information about > current settings is located? > > Jacob > > [EMAIL PROTECTED] wrote: > > > > hmmm... if that doesn't work, you might try overridi

Re: Stupid Newbie Questions: Catching unanticipated null pointer exceptions (Are there really any other kind =^)

1999-10-11 Thread Alex M.
> Exception in thread "main" java.lang.NullPointerException: > at java.awt.Container.addImpl(Container.java:316) > at java.awt.Container.add(Container.java:245) > at Tedit.(Tedit.java:100) > at Tedit.main(Tedit.java:557) The

Re: Const in java

1999-10-14 Thread Alex M.
So there is no added benefit to declaring a parameter final other than to allow access from inner classes within the 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 referenc

Re: Where is it?

1999-10-14 Thread Alex M.
You get those from java.sun.com, docs and apis. On Thu, 14 Oct 1999 [EMAIL PROTECTED] wrote: > OK. I am new to the java world and have installed java on my redhat 6.0 system. I >downloaded version 1.1.7 . I am missing the directory of docs and samples. Where are >these located? > -

Re: escape character

1999-10-15 Thread Alex M.
yes On Fri, 15 Oct 1999, Yohans Mendoza wrote: > hi all, I was under the impression that the escape character in java was > \. > is that correct? > > TIA > > --Yohans > > > ~ > Yohans Mendoza

Re: Still looking for a solution.

1999-10-21 Thread Alex M.
Do you have to use AWT frames? If you use a swing frame, you can use a glass pane to do what you are trying to do. On Wed, 20 Oct 1999, Wayne wrote: > Hello, > I'm close, but no cigar. I'm still trying to get a frame to accept key > events. > In file TestCntrl.java I have - > > import java.awt