Re: applet and netscape

1998-10-21 Thread Steve Byrne

Peter Harris writes:
 > The problem may be that a "feature" of Netscape is that reloading a page in
 > Netscape does _not_ reload any associated applets.
 > 
 > I think if you want to force it to reload applets you need to do something
 > like hold down the control key (or something like that) while clicking on
 > reload, or alternately, shut down Netscape and restart it.

Shift.  Hold down shift and pretty the reload button.  Use Control reload for
MSIE. 
 > 
 > Peter
 > 
 > At 2:46 AM +1100 21/10/98, Georgios Y Lazarou wrote:
 > >Hi,
 > >
 > >I have the following problem with applets and netscape:
 > >
 > >Linux: slackware 3.5
 > >Java: jdk1.1.6.v2
 > >Netscape 4.07
 > >
 > >when I load for the first time one of applets in netscape everything
 > >is ok. Now, when I want to rerun or reload the same applet (an applet
 > >which plots a function), netscape don't do that. Instead, netscape
 > >redraws the same plot that was created in the first applet loading.
 > >When I change the applet code and compile it again, netscape doesn't
 > >reload the new applet, but again reloads the old applet from its
 > >cache. To load the new applet with the same name, I have to exit
 > >netscape and then start it again, and then load the new applet.
 > >
 > >How can I fix this problem?
 > >
 > >thanks
 > >Georgios
 > 
 > 
 > ##
 > #Peter Harris Ph:  (03) 9628 7089#
 > #Telstra, Satellite Services  Fax: (03) 9628 7044#
 > ##
 > 
 > 



Re: applet and netscape

1998-10-21 Thread Gary Mart \(GAM22\) admin0



On Tue, 20 Oct 1998, Steve Byrne wrote:

> Peter Harris writes:
>  > The problem may be that a "feature" of Netscape is that reloading a page in
>  > Netscape does _not_ reload any associated applets.
>  > 
>  > I think if you want to force it to reload applets you need to do something
>  > like hold down the control key (or something like that) while clicking on
>  > reload, or alternately, shut down Netscape and restart it.
> 
> Shift.  Hold down shift and pretty the reload button.  Use Control reload for
> MSIE. 

shift-reload usually forces an html page to reload (but not always which
makes for some fun), however I have often had to kill and restart Netscape
to ensure than an applet is reloaded.

Gary Mart



Re: Another Classpath question

1998-10-21 Thread Ulrich Kortenkamp

> "Alton" == Alton Goodman <[EMAIL PROTECTED]> writes:

Alton> I'm attempting to learn java using the tutorial at
Alton> java.sun.com.  My platform is Linux 2.0.30, a Slackware
Alton> install.  I installed jdk1.1.6v4a per the instructions in
Alton> the README file.  I haven't set the CLASSPATH env variable.

Alton> So I wrote a program Date.java and placed it in a package
Alton> named packages.  packages is a subdirectory in my home
Alton> directory.  Here is a snippet: 
[...]

Alton> BTW, Date.java does have a constructor and an accessor
Alton> function.  I compile Testdate.java using: javac -classpath
Alton> .:~/:/opt/jdk1.1.6v4a/lib/classes.zip Testdate.java

Alton> The compile executes without warnings or errors.  But when
Alton> I attempt to run the app using: java -classpath
Alton> .:~/:/opt/jdk1.1.6v4a/lib/classes.zip Testdate.class
 ^^
You have to give the classname, not the filename, so omit the .class
and everything will be fine.

Alton> java complains that it cannot find Testdate.class.


Another hint (this is the easy way for the same effect):

I assume your directory structure is like this:

someDirectory/packages/Date.java
someDirectory/TestDate.java

(1) go into someDirectory and type 

javac packages/Date.java

and you'll get

someDirectory/packages/Date.java
someDirectory/packages/Date.class
someDirectory/TestDate.java

(2) go into someDirectory and type

javac TestDate.java

and you'll get

someDirectory/packages/Date.java
someDirectory/packages/Date.class
someDirectory/TestDate.java
someDirectory/TestDate.class

(3) run it with

java TestDate

You can even skip step (1) and you get the same results.

Ulli

BTW: Maybe we should concentrate on the "-linux" aspect of this
mailing list. It seems to turn slowly into a high-volume java-newbie
list.

-- 
ETH Zentrum, IFW B43, CH-8092 Zürich
Phone +41-1-63 27393 // FAX +41-1-63 21172



Re: Swing 1.0.3

1998-10-21 Thread Miguel Mateos Lopez


Thanks for your help. I forgot export command!!!

Gracias Peter tu castellano tambien bien. 

On Tue, 20 Oct 1998 [EMAIL PROTECTED] wrote:

>  You CLASSPATH should be defined in your shell like this:
>  
>  JAVA_HOME=/usr/local/jdk1.1.6
>  
>  SWING_HOME=/usr/local/swing-1.0.3
>  
>  CLASSPATH=.:${SWING_HOME}/swing.jar:${SWING_HOME}/motif.jar:${SWING_HO
>  ME}/metal.jar:${SWING_HOME}/window.jar:${SWING_HOME}/beaninfo.jar:${JA
>  VA_HOME}/lib/classes.zip:
> 
> export JAVA_HOME SWING_HOME CLASSPATH
> 
> 
>  //   assuming bash or korn shell
> 
> Pete
> 
>and Stop apologising for your English
>because it is good.
> 
> !muy bien! Mi apprendido Espanyol.
> 
> __ Reply Separator _
> Subject: Re: Swing 1.0.3
> Author:  tyrano ([EMAIL PROTECTED]) at lon-mime
> Date:19/10/98 17:58
> 
> 
>  
>  
>  Hi!!
>  
>  I have some problems with the file swing.jar. When I compile an example, 
>  the compiler returns errors. It doesn't find out included packages in 
>  swing.jar. CLASSPATH is OK.
>  
>  I think that my linux (RedHat 5.0 (Hurricane)) doesn't recognize files 
>  with extension .jar.
>  
>  Can you help me???
>  
>  Thanks & sorry for my English.
>  
>  
>  
>  
>  
> 
> 



Re: Unidentified subject!

1998-10-21 Thread Ross Golder

Mike Price wrote:
> 
> What is going on with this email thing?

Looks like some stupid a***hole is gearing up to start spamming us.

X-Mailer: Ghost Mail 5.1 http://ay.home.ml.org/
X-Priority: 1 (Highest)

> -Original Message-
> From: friend <[EMAIL PROTECTED]>
> To: friend <[EMAIL PROTECTED]>
> Date: Tuesday, October 20, 1998 4:30 PM
> Subject: Unidentified subject!
> 
> >hehehehe... u got me the email virus.. from urself
> >

--
Ross



test

1998-10-21 Thread M. N. Khan

testing...



Re: Working Button mnemonics under Linux Java?

1998-10-21 Thread peter . pilgrim

 Another thing that bothers me: In my linux-jdk1.1.6v2 pressing return 
 in a TextArea (or JTextArea or even Netscape Navigator ) does produce 
 a newline. Is this a related problem?
 
 Some one did mention to check out libBroken.so but I could not find it 
 in the Slackware sources. 

Pete

__ Reply Separator _
Subject: Re: Working Button mnemonics under Linux Java?
Author:  jimb ([EMAIL PROTECTED]) at lon-mime
Date:16/10/98 19:22


Eu Hin Chua <[EMAIL PROTECTED]> wrote:
 
 
> It is more puzzling that many of these systems have been "straight out of 
> the box" Redhat 5.1 and Debian 2 installs (with all updates applied), they 
> have not been tweaked or heavily modified in any way. The only major
> difference I can discern between the setup of our machines and yours is
> that we all use XFree86 servers (SVGA for Matrox Cards, S3, S3 Virge, and 
> XSuse Matrox) in contrast to your Metrolink server.
 
I did some more tests of my own, and found that it is in fact related to 
XFree86.  Running Metro-X, Swing mnemonics work; under XFree86 3.3.2.3 
they do not, with everything else the same.
 
I'll investigate some more and try to figure out why this is, and if there 
is a workaround or fix.  In the meantime, you could always buy Metro-X 
(only $39)...  :-)
 
-Jim Burmeister, [EMAIL PROTECTED]



Re: Working Button mnemonics under Linux Java?

1998-10-21 Thread jim watson





[EMAIL PROTECTED] wrote:

>  Another thing that bothers me:

I thought i would get the Mnemonic working with a KeyEvent created by java, but the
KeyEvent objects returned are different from what is specified in the constructor,
and i cannot create an event with modifier=Alt.

i have sent it to a java list as it seems to be java but it may also be related the
java-linux problem...


The attached code outputs this:

alt key event: java.awt.event.KeyEvent[KEY_PRESSED,
keyCode=73,keyChar='I',modifiers=Ctrl] on frame0

How can i make it say KeyChar='i' and modifiers=Alt

?
thanks

jim watson

=




import java.util.*;
import java.awt.*;
import java.awt.event.*;


public class Keys extends Frame implements KeyListener{
Keys(){
addKeyListener(this);
setSize(100,100);
setVisible(true);
makeKeyEvent();
}

public void keyPressed(KeyEvent k){
System.out.println(k);

}

public void keyReleased(KeyEvent k){}
public void keyTyped(KeyEvent k){}

public void makeKeyEvent(){
Date date = new Date();
long now = date.getTime();
KeyEvent myKey = new KeyEvent(this,
KeyEvent.KEY_PRESSED,
now,
KeyEvent.VK_ALT,
0x49) ;
System.out.println("alt key event: " + myKey.toString());

}

public static void main(String args[]){
Keys k = new Keys();
}
}













Re: patch TYA1.1v2

1998-10-21 Thread bryan vold

Could someone send me the v2 patch for TYA?  I was lost from the maillist for
a little while and missed the the v2 patch.
and the one on the mail archive won't patch cleanly because of formatting.
Please send to [EMAIL PROTECTED]  Thanks!

-Bryan

On Tue, Oct 20, 1998 at 07:53:39PM +0200, Albrecht Kleine wrote:
> Hi,
> here's another TYA patch for you.
> 
> Now the Netbeans program does startup much better. But consider
> you need a lot of mem - that is exactly what someone (Peter Mehlitz?)
> wrote here about Swing+JITs (all that stuff) last week 
> At all I can't say anything about Netbeans, because I am no user - did 
> only _click_ ``Here, There And Everywhere'' (**) for TYA testing purpose.
> 
> (**) A Beatles song from 1966 ;)
> 
> To use this patch at first you need apply the last week patch!!!
> This work is _not_ yet available at TYA's ftp site (but should be:
> at all a matter of time)
> 
> Cheers,
> Albrecht
> patch starts here---
> diff -u tya1.1v2/ChangeLog tya1.1v3/ChangeLog
> --- tya1.1v2/ChangeLogThu Oct 15 21:33:20 1998
> +++ tya1.1v3/ChangeLogTue Oct 20 19:27:09 1998
> @@ -1,4 +1,17 @@
> -Thu Oct 15 21:23:39 1998 Albrecht Kleine  <[EMAIL PROTECTED]>
> +Sun Oct 18 21:18:02 1998  Albrecht Kleine  <[EMAIL PROTECTED]>
> + -tyarecode.c
> +  Changed conditions for compiling call of FastInvNoCheckXX,
> +  this makes Netb startup better; cmp line 2 in build #187
> + -tyarechelp.c
> +  fixed NAN conversion bug (temp)
> +  [tnx bugreport to
> +   Kazuyuki Shudo <[EMAIL PROTECTED]>]
> + -tyaexc.c
> +  added MakeClassSticky call for StOvExc-class
> +
> + file #202
> +-
> +Thu Oct 15 21:23:39 1998  Albrecht Kleine  <[EMAIL PROTECTED]>
>   -tyarecode.c
>fixed athrow bug: more independence of EXCEPTION_BY_SIGNALS 
>by CompTriggerNullPointerException2
> diff -u tya1.1v2/README tya1.1v3/README
> --- tya1.1v2/README   Fri Oct  9 21:27:21 1998
> +++ tya1.1v3/README   Tue Oct 20 19:31:41 1998
> @@ -1,4 +1,4 @@
> -- The TYA 1.1 Readme written by Albrecht Kleine -
> +- The TYA 1.1v3 Readme written by Albrecht Kleine -
>  
>  0. CONTENTS
>  ===
> @@ -51,12 +51,7 @@
>  
>  
>  Important:
> - -You need a 586-pc running Linux port of the JDK 1.1.6
> -  by Steve Byrne.
> -  (Of course it is possible that TYA will run very well 
> -   together with older ports by S.Byrne [or ports 
> -   by S.Nikitin or somebody else], but it is impossible for me 
> -   to care much about.)
> + -You need a 586-pc running Linux port of the JDK 1.1.6.
>   -You have to read and understand file COPYRIGHT for legal stuff.
>   -Read this file carefully.
>  
> @@ -66,17 +61,8 @@
>  
>  Current TYA releases should run most applets and programs 
>  out there including swing, beans, browsers, servers etc.
> -You'll find a lot of interesting test stuff if you follow 
> -the links on the blackdown.org site. Unfortunately I have 
> -no time to test them all. So reports are welcome.
>  
> -TYA 1.1 is the 11th release of this software.
> -
> -In this release you find the generated code is up to 10% smaller
> -and sometimes some percent faster. Once again I've fixed 
> -some bugs  and hopefully did not introduce too much new ;)
> -
> -For details look into Changelog file. 
> +For details (WHAT's NEW) look into Changelog file. 
>  
>  
>  
> @@ -324,8 +310,6 @@
>  
>  Some quick_opcodes are NOT yet implemented, but
>  it seems they are not used.
> -The wide opcode prefix is not completely handled.
> -A bug is reported in running a program called ``netbeans''
>  
>  Remember: use this software AT YOUR OWN RISK.
>  
> diff -u tya1.1v2/acconfig.h tya1.1v3/acconfig.h
> --- tya1.1v2/acconfig.h   Thu Oct 15 22:07:53 1998
> +++ tya1.1v3/acconfig.h   Tue Oct 20 19:32:02 1998
> @@ -80,4 +80,4 @@
>   #define EASYEX
>  #endif
>  
> -#define TYAVER "1.1v2"   // release version
> +#define TYAVER "1.1v3"   // release version
> diff -u tya1.1v2/config.h.in tya1.1v3/config.h.in
> --- tya1.1v2/config.h.in  Thu Oct 15 22:08:10 1998
> +++ tya1.1v3/config.h.in  Tue Oct 20 19:32:21 1998
> @@ -79,4 +79,4 @@
>   #define EASYEX
>  #endif
>  
> -#define TYAVER "1.1v2"   // release version
> +#define TYAVER "1.1v3"   // release version
> Common subdirectories: tya1.1v2/demo and tya1.1v3/demo
> diff -u tya1.1v2/tya.c tya1.1v3/tya.c
> --- tya1.1v2/tya.cThu Oct 15 20:56:58 1998
> +++ tya1.1v3/tya.cMon Oct 19 19:22:17 1998
> @@ -1,6 +1,6 @@
>  // Copyright (c) 1997,1998 Albrecht KleineAll rights reserved
>  // Copyright (c) 1998 Artur Biesiadowski
> -// file version #200
> +// file version #202
>  
>  #include "tyaconfig.h"
>  #include 
> @@ -574,6 +574,13 @@
>  unsigned long  jumpTo asm("aJumpTo");
>  #endif EXCEPTIONS_BY_SIGNALS
>  
> +#define NEWGETCONTEXT
> +#define OFF116v5 4   // 0 for 114v4a
> +// at all it i

RE: help!!!

1998-10-21 Thread Nguyen, Tram N.

OK, if you're no longer  interesting in this mailling list, just send an
empty mail to [EMAIL PROTECTED] or
[EMAIL PROTECTED] with subject 'unsubscribe' .

Thanks
Tram Nguyen N.
Science Application International Corporation
http://www.saic.com
(619) 646-3357

> -Original Message-
> From: John M. Gulizia [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, October 19, 1998 8:38 PM
> To:   [EMAIL PROTECTED]
> Cc:   [EMAIL PROTECTED]
> Subject:  Re: help!!!
> 
> Willy wrote:
> > 
> > Sir/Madam,
> > Good day!!!
> > I download the jdk_1.1.6-v5-x86-lib5.tar.gz... then untar it...
> it
> > extracted on jdk116 directory then... and when i run javac it return the
> > error message "CLASSPATH NOT SET" please help me how to solve this
> > problem... We're students now developing a software using Java in
> > Linux... please help us as soon as possible
> > Thank you very much!
> 
> STOP E-MAILING ME



Free Java @ JavaOne 1999

1998-10-21 Thread Tim Wilkinson

All,

Don't know if anyone else is looking into this but we'd like to put
together a free Java BOF at the coming JavaOne and obviously it'd make
sense to get all the free Java people together for this. We've tried to
do this informally the last two years (they confiscated the megaphone
last year) but though we might try to get it into the official program
this year.

Any interest?

Regards
Tim

--
  Tim Wilkinson Tel: +1 510 704 1660
  Transvirtual Technologies, Inc.,  Fax: +1 510 704 1893
  Berkeley, CA, USA.Email:   [EMAIL PROTECTED]





Announcing: Sun JDK 1.1.7 V1 Port to Linux on PowerPC

1998-10-21 Thread Kevin B. Hendricks

Announcing: JDK 1.1.7 for MkLinux, Linux-PMac, and LinuxPPC

New in this Port

* This is our v1 port of Sun's JDK 1.1.7 final.
- includes numerous bug fixes direct from Sun
- fix for kernel accept() bug, caused slow Java Web Server
 - turn-off by: export JDK_NO_KERNEL_FIX=true


Also Newly Available on this Site
-
* HotJava Browser 1.1.5
* Sun's Java Demos
* Metrowerks JIT Compiler dated 981013
   - fixes bug with link errors when JNI native code used
   - fixes bug with LSUB L2D sequence register allocation errors
   - now released under Metrowerks Non-Commercial License


Special thanks goes to Juergen Kreileder (Blackdown x86 Porting Team)
for almost all of the work to get the 1.1.6 diffs to work on 1.1.7 
with no regressions!

And thanks, of course, go to the Blackdown Porters in general
for all of their valuable work in porting the JDK to all flavors 
of Linux.


*
* NOTE: In keeping with the Metrowerks binary license, the  *
* Metrowerks JIT is not longer shipped with the JDK and *
* therefore is NOT installed by default.  To use the JIT*
* with the JDK please download the Metrowerks JIT binary*
* archive and follow the instructions in the README.*
*

* This port was developed under Sun's non-commercial license agreement.

The home website is still:

http://business.tyler.wm.edu/mklinux

We hope you enjoy the numerous improvements available in JDK 117.
We will continue to work to both improve the port and fix bugs.

Thanks,

Your Blackdown Java-Linux JDK Porting Team for PowerPC


Kevin B. Hendricks
[EMAIL PROTECTED]



Re: Free Java @ JavaOne 1999

1998-10-21 Thread toshok

Tim Wilkinson <[EMAIL PROTECTED]> writes:
> 
> Don't know if anyone else is looking into this but we'd like to put
> together a free Java BOF at the coming JavaOne and obviously it'd make
> sense to get all the free Java people together for this. We've tried to
> do this informally the last two years (they confiscated the megaphone
> last year) but though we might try to get it into the official program
> this year.
> 
> Any interest?

Sure.  I think that'd be very cool.

Chris



Re: Free Java @ JavaOne 1999

1998-10-21 Thread Anthony Green


Tim wrote:
> Don't know if anyone else is looking into this but we'd like to put
> together a free Java BOF at the coming JavaOne and obviously it'd make
> sense to get all the free Java people together for this.

> Any interest?

Yes, absolutely.

AG

-- 
Anthony Green   Cygnus Solutions
   Sunnyvale, California



RE: Free Java @ JavaOne 1999

1998-10-21 Thread Regier Avery J

I'm definitely interested.  My suggestion would be to make sure that this
BOF is as near the beginning of the conference as possible.  This will help
us to have the maximum amount of time available during the conference with
which to collaborate with each other, since we will have already met each
other earlier.  Also, make sure that it doesn't conflict with a possible
JavaLobby BOF.  

- Avery J. Regier


> Original Message-
> From: Tim Wilkinson [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 21, 1998 12:06 PM
> To:   Kaffe mailing list; [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject:  Free Java @ JavaOne 1999
> 
> All,
> 
> Don't know if anyone else is looking into this but we'd like to put
> together a free Java BOF at the coming JavaOne and obviously it'd make
> sense to get all the free Java people together for this. We've tried to
> do this informally the last two years (they confiscated the megaphone
> last year) but though we might try to get it into the official program
> this year.
> 
> Any interest?
> 
> Regards
> Tim
> 
> --
>   Tim Wilkinson Tel: +1 510 704 1660
>   Transvirtual Technologies, Inc.,  Fax: +1 510 704 1893
>   Berkeley, CA, USA.Email:   [EMAIL PROTECTED]
> 
> 



Re: Free Java @ JavaOne 1999

1998-10-21 Thread Per Bothner

Sounds reasonable.  One format is 5-10 presentation from each group,
followed by 5-10 minutes questions to a specific group, followed
by open floor.

However, 60 minutes in length may not be enough for all the groups.
Two back-to-back sessions would be better, if we could get it.

Alternatively, just having separate sessions may make more sense.
I suspect we could fill a 60-minute session on our own!

--Per Bothner
Cygnus Solutions [EMAIL PROTECTED] http://www.cygnus.com/~bothner



RE: Free Java @ JavaOne 1999

1998-10-21 Thread Brian Low

If any one can help me please unsubscribe me now.  Help.

-Original Message-
From: Anthony Green [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 21, 1998 12:23 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: Free Java @ JavaOne 1999



Tim wrote:
> Don't know if anyone else is looking into this but we'd like to put
> together a free Java BOF at the coming JavaOne and obviously it'd make
> sense to get all the free Java people together for this.

> Any interest?

Yes, absolutely.

AG

--
Anthony Green   Cygnus Solutions
   Sunnyvale, California



CheckVersions Error...

1998-10-21 Thread Dustin Preisler

new to Linux, attempting to
install and run the Blackdown
Java..
get a:
/usr/lib.java/jdk116_v5/bin/checkVershions:
{isGreaterOrEqual: command not
found
error...
thats when i try to do a
javac
or
javac -g
on any .java file...
can anyone help me out
thanks..

Dustin

--
check out my homepage:
http://asterisk.reshall.berekely.edu/~dustinp/index.shtml





Help! appletviewer doesn't work

1998-10-21 Thread Ryuji Yokoyama

Hello All! 

I am newbie and have a problem.  I downloaded jdk-1_1_6-5_glibc_i386.rpm
and installed it.  When I tried to use appletviewer, I got following error
message. "I/O exception while reading /root/temp/hello Make sure that hello
is a file and readable."  I added my .bashrc file to
CLASSPATH=.:/usr/bin/jdk-1.1.6;  My code is following.  I don't think this
is a problem of my code.  What else do I have to do?  I am using RedHat 5.1.

Thanks in advance. 

import java.awt.*;
import java.applet.*;

public class hello extends Applet
{
 public void paint(Graphics g)
{
  g.drawString("Hello from Applet", 60, 75);
}
}