Memory Allocation

1998-11-14 Thread Chris Sommers
Estmeemed wizards, How can I estimate how much memory an object or bunch of objects consume - besides indirectly, e.g. looking at Runtime.getRuntime().totalMemory()? For example, how big is a Vector containing 10,000 of class Double? I'm sure it will be JVM/platform-dependent, but there must be a

Re: Mouse Clicks

1998-11-14 Thread Robert P. Biuk-Aghai
Just in case you want to use this to pop up a popup menu, the way NOT to do it is to check for button 3 from the mouse, as this is not portable (ever checked how many buttons a Mac mouse has?). Instead, you should check whether this is a popup mouse click, using something like this inside BOTH o

Linux JDK Bug -

1998-11-14 Thread Jim Arlet
Hello, Sorry to have to bother you with support questions, but I am an experienced Java developer on Solaris, and I have been trying to get your JDK port to run on my Linux machine, without luck. I have tried both the glibc and libc5 versions of the JDK, and both have been unsuccessful, yet with

Re: Fun apps for Java-Linux

1998-11-14 Thread Alexander V. Konstantinou
Check out the new Java Media Framework 1.1 beta release from Sun & IBM. It contains a pure Java implementation along with WinNT and Solaris performance packs. The pure Java implementation supports several media types, including popular Win formats such as WAV, MOV ... http://java.sun.com

Re: Fun apps for Java-Linux

1998-11-14 Thread Jonathan Mark Brooks
The problem is that java itself is dependent on the underlying operating system to do at least some of the work for it. Unfortunately, sound support in Linux is not real great right now. They are working on that, and I expect that the 2.2 kernel in the new distros will have all the basic mult

Re: Mouse Clicks

1998-11-14 Thread Chris Sommers
Karthik, Assume you have MouseEvent in a variable "event" int m = event.getModifiers(); if (m & InputEvent.BUTTON1_MASK) <- detects button 1 Take a look at InputEvents - it has a lot of static constants used for determining which button was pressed, if CTRL, ALT or SHIFT were pressed, also

Re: Cant fiiind error..

1998-11-14 Thread Carlos Alberto Roman Zamitiz
Maybe you created one class "listener" called action1 and you didn't put it in the same directory or you didn't specify the atribute CODEBASE into the tag . If somebody knows that I'm wrong, please let me know. greetings. Carlos Alberto Roman Zamitiz Departamento de Ingenieria en Computacion, F

Cant fiiind error..

1998-11-14 Thread Syed Mubin
Hi, I've created a simple applet which implements mouse listener the applet runs fine in Appletviewer ,but it shows following ERROR:Applet action can,t start:class action1 not found Please help me what the problem is Bye Syed Mubeen

Fun apps for Java-Linux

1998-11-14 Thread GBNSCHBACH
Dear Friends, I was suffering a bit of jealousy the other day when I wanted to be able to run my childrens multi-media software under Linux *instead* of Win95. I DON"T mean I want a windows emulator. I suddenly remembered that Java is supposed to be able to do multi-media stuff. How well

Re: [Java-Linux] about this list ...

1998-11-14 Thread John Summerfield
On Thu, 12 Nov 1998, olivier Dulac wrote: > > Hi, > > Sorry for this isn't a java-related message, but it a few suggestions > about the list itself, and people using it... > > 1) include [Java-linux] in your Subject:, for every mails to this list > >*please* put a header in front of e

Re: Retrieving a fully qualified hostname under NT

1998-11-14 Thread John Summerfield
On Thu, 12 Nov 1998, Mark Hofmann wrote: > Hi all, > > I've posted that question a few days ago to java.lang.programmer > but got no response :-( > But, since this problem is really bugging me, and there might be some > people in this list that run there progs under NT and Linux, just as me, > I

Re: Swing on Blackdown jdk1.1.6

1998-11-14 Thread David Warnock
** Reply to message from [EMAIL PROTECTED] on Sat, 14 Nov 1998 00:25:31 EST > I got an app from someone. It included swing.jar.I > "un-jarred" it. But seriously.. should it be in the > same directory subtree under "src" with "lang" "io" > and other stuff? Or should it be in "l

Mouse Clicks

1998-11-14 Thread Karthik Vishwanath
Hi all, On receiving a mousePressed, how does one determine which mouse button is the one clicked? ps: i am sorry if this is a purely java based question, but then i do not know where else i can post it. thanks, -Karthik. +---

RE: Unresolved symbol in libawt.so, 1.1.7v1a

1998-11-14 Thread Denis Pershin
On 14-Nov-98 Denis Pershin wrote: Forget to mention that java works ok. > I have very strange error: > ./libawt.so: undefined symbol: XtShellStrings (libawt.so) > java.lang.UnsatisfiedLinkError: no awt in shared library path > at java.lang.Runtime.loadLibrary(Runtime.java) > at j

Unresolved symbol in libawt.so, 1.1.7v1a

1998-11-14 Thread Denis Pershin
Hello all, I have very strange error: ./libawt.so: undefined symbol: XtShellStrings (libawt.so) java.lang.UnsatisfiedLinkError: no awt in shared library path at java.lang.Runtime.loadLibrary(Runtime.java) at java.lang.System.loadLibrary(System.java) at at java.awt.