Re: display text

1999-07-12 Thread Matthias Pfisterer
Hi, use: ta = new TextArea(new String(data)); Matthias Pfisterer R MUTHUSWAMY wrote: > > hi all, > i have a textarea and want to load the text into the area. in this > i give the filename and the filecontent has to be loaded into that. i have > tried it and getting the error

Segmentation Fault!

1999-07-12 Thread Sven Werner
Hi! It´s me again with this error: ... SIGSEGV 11* segmentation violation stackpointer=0xbfffddc0 Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, green threads): "Image Fetcher 3" (TID:0x404bdf88, sys_thread_t:0x87e0410, state:CW) prio=8 at java

Re: Max heap environment variable?

1999-07-12 Thread Carl H. Sayres
> > Just installed the 1.2pre-v.2 release of the JDK. All looks > fine (changed to green threads since running on > uniprocessor system - also complaint about missing pthreads > library if I left them set to native) except that the > Simplicity IDE has memory problems. > > Clearly, my first port

Re: Troubles with scrollbars. It's me or there is something wrong?

1999-07-12 Thread Nathan Meyers
Kontorotsui wrote: > > Hello, > I wrote an application that uses scrollbars (using the ScrollPane > class), but often when the image inside the scrollpane changes in size, I get > this message: > > Warning: > Name: HorScrollBar > Class: XmScrollBar > The specified scrollbar v

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-12 Thread Rachit Siamwalla
True, but there is always room for improvement (like any product / API -- none is perfect). The thing I really gripe about is Sun's own turnaround time to fix some very basic bugs that plague the system. True, when everything was through AWT and everything was system dependent, it is hard to track

Re: Troubles with scrollbars. It's me or there is something wrong?

1999-07-12 Thread Nathan Ehresman
Are you using lesstif or the statically linked in motif widget set? Nathan Ehresman > Hello, >I wrote an application that uses scrollbars (using the ScrollPane > class), but often when the image inside the scrollpane changes in size, I get > this message: ---

Troubles with scrollbars. It's me or there is something wrong?

1999-07-12 Thread Kontorotsui
Hello, I wrote an application that uses scrollbars (using the ScrollPane class), but often when the image inside the scrollpane changes in size, I get this message: Warning: Name: HorScrollBar Class: XmScrollBar The specified scrollbar value is greater than th

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. -

display text

1999-07-12 Thread R MUTHUSWAMY
hi all, i have a textarea and want to load the text into the area. in this i give the filename and the filecontent has to be loaded into that. i have tried it and getting the error that byte [] can't be converted to java.lang.string. The code is as follows... import java.awt.*;

jdk1.2pre-v2 and Slackware 4.0

1999-07-12 Thread Peter Ning
Hi Folks, I'm getting the following error when I try to run either java,javac,or appletviewer using the glibc2.0 version of jdk1.2pre-v2: /usr/local/java/bin/i386/native_threads/java: error in loading shared libraries /lib/libpthread.so.0: undefined symbol: __libc_rewinddir

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-12 Thread Nick Lawson
Fair comment. I was one of those who had a moan about Swing in this thread, but I still think Java is the best development tool I have ever seen. I guess we all got used to this luxury already! Nick Rudi Streif wrote: > Pretty interesting discussion. Basically you are talking about the dilemma >

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-12 Thread Alexander Schatten
I guess this is exactly the point. Alex Rudi Streif wrote: > Pretty interesting discussion. Basically you are talking about the dilemma > everyone has to face if he wants to develop a framework that is meant to be > used by others. If he makes it too generic then there will be a bunch of > peop

Help StackOverflowError with jdk1.2

1999-07-12 Thread Bruno Boettcher
Hello, i am making a simulator in java using JacORB1.0beta7 and JDK1.2-pre2 on Debian potato, and now using my distributed proggy on more machines (on 1 it works... strangely enough) i have the following error: java.lang.StackOverflowError

signatures (was: TYA)

1999-07-12 Thread Martin Schröder
On 1999-07-11 09:33:41 +0200, Kontorotsui wrote: > --- > Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at > University of Pisa - Italy - E-mail: [EMAIL PROTECTED] > My home page: http://www.cli.di.unipi.it/~controzz/intro.html > > Founder and Admiral of Hoshi no Senshi (i

Re: Problems with Emacs/JDE

1999-07-12 Thread Chris Woods
Justin Lawler <[EMAIL PROTECTED]> writes: > Hi, > > i have been trying to get JDE working also, but cannot. In the documntation, > it says that you need to specify the location of JDE in you ".emacs" file. I have >been > unable to find that file anywhere on my system. > It is not in my home dir

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-12 Thread Rudi Streif
Pretty interesting discussion. Basically you are talking about the dilemma everyone has to face if he wants to develop a framework that is meant to be used by others. If he makes it too generic then there will be a bunch of people who complain that it is hard to use, that the turnaround times are

Re: Problems with Emacs/JDE

1999-07-12 Thread matt
Hopefully I can help a little with the JDE problem. I have been using JDE/XEmacs v20.4 as my development environment on Debian Linux/i386 for quite some time. The following are for XEmacs - YMMV. Automatic syntax and paren highlighting are in the Options menu. Remember to save your options after

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Nick Lawson
Sorry about the syntax error: the options are different in different JDKs; -Xmx32m is correct for Suns JDK 1.2. Nick Luigi Giuri wrote: > At 11.21 12/07/99 +0100, Nick Lawson wrote: > >In JDK 1.2 the default max heap size is 16 Mb - I can't remember what > >it was in 1.1. Is this your problem ?

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Dallas Hockley
Larry Gates wrote: > [SNIP] > > > >>You can specify a larger heap > >>with the command line option -Xmx32m, for example. > > > >Right, there is only a little syntax error: the option is -mx32m. > > interesting feature. What is the rationale behind the idea of a heap > size? Whynot just use wha

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Nathan Ehresman
Larry Gates wrote: > > interesting feature. What is the rationale behind the idea of a heap > size? Whynot just use whatever RAM is available? > > -Larry Gates > If you have a memory leak (I've experience some ugly ones), it just crashes the VM instead of bringing your system to a crawl. Na

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Gregory Steuck
Larry Gates writes: > >>You can specify a larger heap > >>with the command line option -Xmx32m, for example. > > > >Right, there is only a little syntax error: the option is -mx32m. > > interesting feature. What is the rationale behind the idea of a heap > size? Whynot just use whatever

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Matthias Carlsson
> > > The objective of this program is to fill the computer RAM and swap area but, > suddendly, when it crashes with a java.lang.OutOfMemoryError there are > 66000 KB of free RAM (on a 96MB computer). > > I tried the jdk117_v3, but I obtained the same result. > I also turned off the JIT compile

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Larry Gates
>Date: Mon, 12 Jul 1999 13:12:45 +0200 >From: [EMAIL PROTECTED] (Luigi Giuri) >At 11.21 12/07/99 +0100, Nick Lawson wrote: >>In JDK 1.2 the default max heap size is 16 Mb - I can't remember what >>it was in 1.1. Is this your problem ? > >Yes !!! > >>You can specify a larger heap >>with the comm

Re: Problems with Emacs/JDE

1999-07-12 Thread Justin Lawler
Hi, i have been trying to get JDE working also, but cannot. In the documntation, it says that you need to specify the location of JDE in you ".emacs" file. I have been unable to find that file anywhere on my system. It is not in my home directory, or in the location of all the xemacs files. I eve

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Luigi Giuri
At 11.21 12/07/99 +0100, Nick Lawson wrote: >In JDK 1.2 the default max heap size is 16 Mb - I can't remember what >it was in 1.1. Is this your problem ? Yes !!! >You can specify a larger heap >with the command line option -Xmx32m, for example. Right, there is only a little syntax error: the o

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Nick Lawson
In JDK 1.2 the default max heap size is 16 Mb - I can't remember what it was in 1.1. Is this your problem ? You can specify a larger heap with the command line option -Xmx32m, for example. Nick Luigi Giuri wrote: > I'm having a problem using jdk117_v1a + Apache-JServ-1.0b3. > > The problem is th

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Jan-Henrik Haukeland
[EMAIL PROTECTED] (Luigi Giuri) writes: > I'm having a problem using jdk117_v1a + Apache-JServ-1.0b3. > > The problem is that sometimes a java.lang.OutOfMemoryError occurs, > so I need to restart the JVM. You should upgrade to JServ 1.0, or the latest cvs release. There was a bug in the LogWrit

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-12 Thread Brad Pepers
Mark Christiaens wrote: > > > I can't even go that far since JTable has its own problems. Like you > > mentioned its hard to customize without creating your own component and > > its also almost useless for data entry. In general the whole thing is > > missing so much basical functionality that

java.lang.OutOfMemoryError

1999-07-12 Thread Luigi Giuri
I'm having a problem using jdk117_v1a + Apache-JServ-1.0b3. The problem is that sometimes a java.lang.OutOfMemoryError occurs, so I need to restart the JVM. To test the jdk, I wrote the following simple program: import java.util.*; public class crashMe { public static void main(String [] ar

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-12 Thread Mark Christiaens
> I can't even go that far since JTable has its own problems. Like you > mentioned its hard to customize without creating your own component and > its also almost useless for data entry. In general the whole thing is > missing so much basical functionality that you end up spending all your > tim

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-12 Thread Peter Pilgrim
Yep I can agree with this. If you want to restrict the input of a JTextField to digits or uppercase characters. I am surprised that only 10 developers are committed to this project if that is true, but you can't throw people at a complex project such as swing. In any case I thought this was joint

Re: Problems with Emacs/JDE

1999-07-12 Thread Stefan Bodewig
Hi Alexander, i'm sending a direct copy to you because blackdowns majordomo doesn't like my mails - at least sometimes. > "AS" == Alexander Schatten <[EMAIL PROTECTED]> writes: AS> ad 1) when I have some identation like: I've allready seen someone pointing you to TAB. If you want to get