[3844] in java-interest
Message not deliverable
daemon@ATHENA.MIT.EDU (Administrator_at_Coherent-Corp1@un)
Wed Nov 29 19:34:28 1995
From: Administrator_at_Coherent-Corp1@unixgate.cohr.com
Date: Wed, 29 Nov 95 08:23:22 PST
To: java-interest@java.sun.com
java-interest-digest Tuesday, 28 November 1995 Volume 01 : Number 275
In this issue:
Using Appletviewer
Re: Fundamental flaw in Java library distribution scheme
Byte-codes and Java machine architecture...
Re: Fundamental flaw in Java library distribution scheme
Re: Protected Is Default?
Re: Mac availability
Re: Fundamental flaw in Java library distribution scheme
native libs and netscape
setIconImage
Getting Native Methods to work with HotJava...
Re: Odd timing on Turkey Day
Re: Mac availability
J*** Notes, Nov. 24th
Re: Mac availability
Notes mirror sites
Re: Protected Is Default?
Trainings ????
[Fwd: Belgian software-engeneer !!!]
Re: Mac availability
Re: Assistance in Santa Barbara
Re: Mac availability
Re: Structure in Java
AVI player
----------------------------------------------------------------------
From: "Ki Hong" <Ki_Hong@qmsmtpgw.mugu.navy.mil>
Date: 27 Nov 1995 14:23:20 U
Subject: Using Appletviewer
Using Appletviewer 11/27/95
Hi all!
I have installed the Windows 95 JDK-beta on my home computer. The problem
that I am having when I try to run any demo file that is included in the JDK
package is that Appletview constantly looks for the Network connection in
order to start the applet.
I do have an Internet connection through the PPP acount.
How do I run the applets using Appletviewer on my computer without any sort
of Internet connection?
Please help!
------------------------------
From: wnj@sw.Central.Sun.COM (Bill Joy)
Date: Mon, 27 Nov 1995 15:28:15 +0700
Subject: Re: Fundamental flaw in Java library distribution scheme
the reason we don't do dynamic overload resolution in the
way that you suggest is that it moves the detection of overload
ambiguities to runtime. we want these ambiguities to be
detected at compile time, in the spirit of a strongly typed
language.
if you have all the source, you can recompile.
in the many cases where you don't, you can still run
the old .class files and they will dispatch to the method
that was defined in the class against which they were compiled.
under your proposal, they would get runtime errors, and you
would be in a real fix, not having the source.
wnj
------------------------------
From: Jules Gilbert <jules@medg.lcs.mit.edu>
Date: Mon, 27 Nov 1995 17:39:56 -0500
Subject: Byte-codes and Java machine architecture...
ow stable are the byte-codes and the design of the Java abstract cpu. Is
this something that is going to undergo change when Java is no longer free?
What has Sun said that is certain? Comments invited.
PS: I am doing work building the CoffeeMaKer product suite and want to
know if the 'vmspec' and other Sun documents might represent a
'work in progress'. That would be alright if the changes are
announced. But it would be bad if the Sun started acting like
some who dropped out of Harvard...
Jules
------------------------------
From: david@longview.com (David Griswold)
Date: Mon, 27 Nov 95 17:18:22 PST
Subject: Re: Fundamental flaw in Java library distribution scheme
you wrote:
>the reason we don't do dynamic overload resolution in the
>way that you suggest is that it moves the detection of overload
>ambiguities to runtime. we want these ambiguities to be
>detected at compile time, in the spirit of a strongly typed
>language.
>
>if you have all the source, you can recompile.
>in the many cases where you don't, you can still run
>the old .class files and they will dispatch to the method
>that was defined in the class against which they were compiled.
>under your proposal, they would get runtime errors, and you
>would be in a real fix, not having the source.
Hmmm, this is a good point. However, hacking the problem by making
execution semantics dependent on the compilation history would seem
to me worse in the long term than eliminating the root of the
problem: overloading. It might be painful to do it at this point, but
I can assure you that overloading would be the least-missed feature
from C++. Even most C++ programmers would agree that it is the single
biggest source of complexity in both C++ and Java. Java would be a
*much* simpler and more elegant language without it, and would then
have a clean, history independent semantics.
I know that no one at Sun really wants to hear that right now, but learn
from the C++ experience: look at all the unanticipated complications that
overloading caused in C++. Who knows what problems still lurk?
Languages can take years of large-scale use before all the consequences
are clear; claims for stability in the Java spec are almost certainly
premature.
Think about the impact of even small problems in the language design in
5 years. If I was Sun I would not put *anything* into Java that was
not incredibly well understood, and vetted by the academic community.
- -Dave
------------------------------
From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
Date: Mon, 27 Nov 1995 18:20:35 -0800
Subject: Re: Protected Is Default?
> I've got a class that extends Container:
>
> package foo;
>
> import java.awt.Container;
>
> class A extends Container {
> B b = null;
> }
>
> When I compile:
>
> trilby >> javac foo/A.java
> foo/A.java:5: No constructor matching Container() found in class java.awt.Container.
> class A extends Container {
> ^
> 1 error
Since you didn't make a constructor for class A, a default constructor
was added:
A() {
super();
}
Since super() maps to Container.Container() and since the default access
mode is friendly (not protected), that constructor was not visible to you
outside of the java.awt package and so the class definition failed.
If you read the doc comment on Container's constructor you will see that
Containers were not meant to be subclassed outside of java.awt. Try
subclassing one of the other types of Containers, such as Panel, Window,
Dialog, FileDialog or Frame.
...jim
------------------------------
From: Ryan Garcia <ryandhoz@umich.edu>
Date: Mon, 27 Nov 1995 22:11:42 -0500 (EST)
Subject: Re: Mac availability
CodeWarrior 9 (scheduled release in June 1996) is supposed to have the
Java stuff in it. You can check out their web site at
http://www.metrowerks.com/
There's a press release from just about two weeks ago with all the info. :)
Ryan Garcia
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
|Ryan Garcia ryandhoz@umich.edu|
| RCSC, West Quad |
|Developer, University of Michigan Fantasy and Sci-Fi Home Pages|
| http://www.umich.edu/~umfandsf |
| Home Page - http://www.umich.edu/~ryandhoz |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
------------------------------
From: wnj@sw.Central.Sun.COM (Bill Joy)
Date: Mon, 27 Nov 1995 21:03:56 +0700
Subject: Re: Fundamental flaw in Java library distribution scheme
>Think about the impact of even small problems in the language design in
>5 years. If I was Sun I would not put *anything* into Java that was
>not incredibly well understood, and vetted by the academic community.
to be honest, we have spent the last 5 years having arguments like
this, and are very aware of, e.g. hoare's classic paper on language
design, which says roughly this.
every feature has been proposed to be in or out many times;
we have reached the point of exhaustion... someday we'll write
a book reproducing parts of the discussion.
in particular, we discussed taking out method overloading.
i was in favor of this, but it judged
to be very useful for the simple cases,
namely t.print etc.
saying t.printint, t.printreal, ... makes programs less
readable not more, and readability is a major goal of the language.
for the more complicated cases we made the (compile-time) rule
compatible with the more sophisticated rule used by languages
like dylan/cecil. we did this because it seemed to reflect the
negative experience in the lisp and self communities from more complicated
dispatch (e.g. prioritized, etc.) dave ungar (who suffered through
this in the self world) helped us to understand the issues and i believe
we "got it right".
in the end, as actually practised there seems to be no problem
with overloading. what you describe as a "fundamental
flaw" is probably more accurately a "curiosity".
wnj
------------------------------
From: David Gourley <dgourley@CS.Berkeley.EDU>
Date: Mon, 27 Nov 1995 22:51:09 -0800
Subject: native libs and netscape
Hello,
I have an applet that loads a class that I wrote that lives on my local
disk, the loaded class trys to load a native library. When I try and load a
page containing the applet in netscape, I get a cryptic message saying that
the loadLibrary failed. The library is in my path and everything runs
smoothly when I use appletviewer. Any ideas?
- -david
------------------------------
From: dan latham <dan@futuretense.com>
Date: Tue, 28 Nov 95 00:43:00 -0500 (GMT)
Subject: setIconImage
Has anyone sucessfully used setIconImage() with the Beta under Win95/WinNT?
Looking at code in the appletviewer, I've tried to do something similar.
From within the Frame I'm doing:
img = getImage(new URL(panel.getDocumentBase(), "icon.gif"));
setIconImage(img);
The getImage routine does the same thing as the appletviewer's getImage. The
image retrieved is non-null, but doing the setIconImage results in no
visible change. Is there a bug here? Or am I just not doing something right?
thanks,
dan
------------------------------
From: "Brad Gaub" <ZappoMan@msn.com>
Date: Tue, 28 Nov 95 12:54:21 UT
Subject: Getting Native Methods to work with HotJava...
I'm having some trouble getting the Win95/NT Alpha3 version of HotJava to
work with my Native Method DLL. It appears as if the call to LoadLibrary() is
failing (gracefully and silently though). I can actually get the native
method to work by running my debugger (VC++ 2.2) on the DLL while launching
HotJava as the running EXE for the DLL (a debugger option). But when I run
HotJava alone my native method calls don't work. I'm assuming since when run
in the debugger, VC actually finds and loads the DLL, HotJava has no problem
loading the DLL a second time. But when run independently, HotJava apparently
has problems locating the DLL. I've tried placing the DLLs in the Windows &
Windows\System directories, as well as the Java\Bin directory, but no luck.
Any suggestions?
- -Brad
By the way, does anybody have an answer for why Netscape doesn't plan to
support Native Methods in Navigator? I think they think it's a security
issue... but it seems that their plug-ins or standard old helper apps would
have the same security problems as a native method.
------------------------------
From: BC Krishna <bc@futuretense.com>
Date: Tue, 28 Nov 95 13:39:46 -0500 (GMT)
Subject: Re: Odd timing on Turkey Day
At 11:00 AM 11/27/95 -0800, ian c rogers wrote:
>On Nov 24, 4:54pm, Jim.Graham@Eng.Sun.COM wrote:
>> Note that this repaint does not necessarily get executed immediately.
>> The repaint method is called "as soon as possible", which means that it
>> is scheduled to have its update method called at some time in the
>> future with as little delay as possible. In fact, all of your
>> "scaledRepaint" calls but the last one may end up ignored as they are
>> all collapsed into one repaint which is performed with your variables
>> set up as per the most recent call to this method.
>
>This explains quite a bit of the odd behavior I've been experiencing. So can I
>call repaint(1) to force a call within 1 millisecond and thus gain tigheter
>control over the animation? I'm guessing there is a caveot to this, what would
>it be?
>
>ian
>
A Windows 95/NT detail. Note that, based on the timing of the repaint
requests, you may end up repainting/exposing more than you intended. For
instance, requests to repaint two disjoint geometries may end up
repainting/exposing the union of the two geometries because the individual
Windows WMPAINT messages may get compressed.
We had the damndest time trying to figure this out.
cheers, bc
------------------------------
From: "R.Volkmann" <m224873@svxtrm14.mdc.com>
Date: Tue, 28 Nov 1995 08:00:17 -0600
Subject: Re: Mac availability
>Date: Mon, 27 Nov 1995 22:11:42 -0500 (EST)
>From: Ryan Garcia <ryandhoz@umich.edu>
>
>CodeWarrior 9 (scheduled release in June 1996) is supposed to have the
>Java stuff in it. You can check out their web site at
>http://www.metrowerks.com/
>
>There's a press release from just about two weeks ago with all the info. :)
... an alternative? ...
I read somewhere, maybe on this mailing list, that Sun is writing a Java
version of their Workshop development environment which is currently
available for FORTRAN, C, C++, and Ada. The interesting thing about
this is that it is being written in Java. I assume from this that
"Workshop for Java" will run on a Macintosh as long as you have a Java
bytecode interpreter. Is Sun going to release a free Macintosh Java bytecode
interpreter?
Of course, the Sun Workshop product could be much more expensive than the
Metroworks product.
|----------------------------------------------------------------------------|
| R. Mark Volkmann - Principal Specialist Programmer/Analyst |
| McDonnell Douglas Aerospace, St. Louis, Missouri, USA |
| EMAIL m224873@svmstr01.mdc.com, VOICE (314)232-0498, FAX (314)233-5489 |
|----------------------------------------------------------------------------|
------------------------------
From: mentor@io.org (David Forster)
Date: Tue, 28 Nov 1995 09:41:43 -0500
Subject: J*** Notes, Nov. 24th
Hi everyone!
The latest issue is now online, with my apologies to the 169 people who
tried to read it since it came online unannounced at about 1 AM EST today
(Tuesday) (that's in the last 8 or 9 hours!). I cut-and-pasted the wrong
file name.
For those who don't yet know about it, here's the URL:
http://www.io.org/~mentor/J___Notes.html (don't forget to reload the page)
And here's the standard blurb:
Are you tired of wading through hundreds of messages on the Java-related
mailing lists to get to the real nuggets of information? Don't you wish
there was some place where you could just read the high points?
Well, search no longer!
Announcing J*** Notes!
J*** Notes is a weekly summary of the traffic appearing in the Java mailing
lists and news groups. We hope that the summaries are unbiased and a clear
reflection of what the various authors intended, but we are human,
so some errorrs or misconceptions may creep in.
Each issue contains entries in the following categories:
1.Announcements: brief notices of happenings, course offerings, etc.
2.Features: J*** Notes exclusives and summaries of important discussions
3.Discussions: summaries of multi-message exchanges
4.Bugs and Warnings: listings of known or suspected bugs or odd behaviour
5.Comments: short statements of fact or opinion
6.Queries: short questions, sometimes with answers
7.Class Exchange: Got a class to give away? Need a class developed?
8.FAQ candidates: questions of the FAQ sort, with answers
9.Help wanted: offers of employment, etc.
Please check out our latest issue today!
Cheers,
David Forster <br><a href="http://www.io.org/~mentor">
Mentor Software Solutions </a><br>
+1 905 832 4837 <br>
------------------------------
From: "Rick Eames" <athos@natural.com>
Date: Tue, 28 Nov 1995 09:42:56 -0400
Subject: Re: Mac availability
- --part_ACE08A20004F42D000000006
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
> The company who will deliver is MetroWerks makers of the
> excellent CODEWARRIOR products. Hope they can post here on this request.
Indeed, CodeWarrior will be support Java in CW/9 (May). Natural Intelligence,
however, will have Java tools available at the end of this year. For more
information, please send email to "roaster@natural.com" or drop by our web
site at http://www.natural.com/
Cheers,
Rick
- --part_ACE08A20004F42D000000006
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
\_ \_ \_ -------------------------------------------------------------
\_\_\_ \_ Rick Eames athos@natural.com
\_ \__ \_ Manager, Products tel (617) 876-7680 x1219
\_ \_ \_ Natural Intelligence, Inc. fax (617) 492-7425
"Argue for your limitations, and sure enough, they're yours."
- --part_ACE08A20004F42D000000006--
------------------------------
From: mentor@io.org (David Forster)
Date: Tue, 28 Nov 1995 09:46:16 -0500
Subject: Notes mirror sites
Hi all,
I've found that the J*** Notes is being mirrored at sites around the world.
Great! But I'd like to know which sites, so I can make sure you have all
the bits and pieces you need. Could anyone who has set up a mirror of the
Notes please send email to me at mentor@io.org? Thanks very much!
Cheers,
David Forster <br><a href="http://www.io.org/~mentor">
Mentor Software Solutions </a><br>
+1 905 832 4837 <br>
------------------------------
From: dkrohn@aristotle.ils.nwu.edu (David Krohn)
Date: Tue, 28 Nov 95 09:05:00 CST
Subject: Re: Protected Is Default?
Actually, I believe "friendly" is the default, which may mean that your
subclassed class would need to be in the same package as the original class.
I'm not positive though,
Dave Krohn
dkrohn@ils.nwu.edu
http://www.ils.nwu.edu/~dkrohn/
Institute for the Learning Sciences
Northwestern University
>I've got a class that extends Container:
>
> package foo;
>
> import java.awt.Container;
>
> class A extends Container {
> B b = null;
> }
>
>When I compile:
>
> trilby >> javac foo/A.java
> foo/A.java:5: No constructor matching Container() found in class java.awt.
Container.
> class A extends Container {
> ^
> 1 error
>
>Of course there is a Container():
>
> // In Container.java:
>
> Container() {
> }
>
>If I change Container's default constructor access modifier to protected:
>
> // In Container.java:
>
> protected Container() {
> }
>
>Then all is well:
>
>trilby >> javac foo/A.java
>trilby >>
>
> What's the deal? Is protected not the default access modifier? I'm using
>the BETA release on Solaris 2.4, BTW.
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> David Geary "I'm a bad man; I do what I can"
> geary@rmtc.Central.Sun.COM
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>-
>This message was sent to the java-interest mailing list
>Info: send 'help' to java-interest-request@java.sun.com
>
>
------------------------------
From: Joan Maria Mas Ribes <mas@tele.ucl.ac.be>
Date: Tue, 28 Nov 1995 16:33:37 +0100 (MET)
Subject: Trainings ????
Hi there !
Does any of you know anything about Java trainnings ???
By trainning I DON'T mean spending 2 or 3 days learning how to use HotJava and
being able of writing by myself the HelloWolrd applet after 5 days (not joking,
this is the kind of training we have in Europe).
I'm rather interested in a trainning for those who already know and have some
experience in OO programing and have already started writing some applications
and applets in Java.
If you know about any of these trainings please tell me (in Eurpe or in the
States)
Thanks a lot in advance,
- --------------------------------------------------------------------------------
_/ _/ _/ _/ _/ _/_/ JoanMa MAS RIBES
_/ _/_/_// _/_/_// _/ _/
_/ _/ _/_/ _/ _/_/ _/_/ Universite Catholique de Louvain
_/ _/ _/ _/ _/ _/ _/ _/ Laboratoire de Telecommunications
_/_/ _/ _/ _/ _/ _/ _/ Batiment Stevin
2, Place du Levant
B-1348 - Louvain La Neuve
mailto:mas@tele.ucl.ac.be Tel.: +32 - (0)10 - 478067
Fax : +32 - (0)10 - 472089
Security is when everything is settled.
When nothing can happen to you.
Security is the denial of life.
- --------------------------------------------------------------------------------
------------------------------
From: Tim Moons <tim@innet.be>
Date: Tue, 28 Nov 1995 16:49:09 +0100
Subject: [Fwd: Belgian software-engeneer !!!]
X-Mozilla-Status: 0001
Message-ID: <30BB2E66.26A5@innet.be>
Date: Tue, 28 Nov 1995 16:44:38 +0100
From: Tim Moons <tim@innet.be>
Organization: INnet nv.
X-Mailer: Mozilla 2.0b3 (Win95; I)
MIME-Version: 1.0
To: java@java.sun.com
Subject: Belgian software-engeneer !!!
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
Here a Belgian software-engeneer. I'm working for INnet Ltd., the biggest internetprovider from
Belgium.
I'm programming JAVA for our company. I have only one problem :
I wrote some applets. They all run perfect in the appletviewer. I'm using SPARC and PC. All the
applets run in both the appletviewers.
My problem : To give our costumers the chance to use the applets it has to be possible to run my
applets in the Netscape2.0b3 !!
My problem : They don't run in Netscape, the axception :
# Applet exception: can't load: class XXXXXXXX not found
So, I can run all the applets from the web (for example the applets from GAMELAN) but not my own
applets. Also the applets included in the JDK-developpers kit won't run in netscape. They run in
the appletviewer.
Can you help me please ?????
Tim Moons ......
Email : tim@innet.be
------------------------------
From: Ryan Garcia <ryandhoz@umich.edu>
Date: Tue, 28 Nov 1995 10:58:05 -0500 (EST)
Subject: Re: Mac availability
On Tue, 28 Nov 1995, R.Volkmann wrote:
> I read somewhere, maybe on this mailing list, that Sun is writing a Java
> version of their Workshop development environment which is currently
> available for FORTRAN, C, C++, and Ada. The interesting thing about
> this is that it is being written in Java. I assume from this that
> "Workshop for Java" will run on a Macintosh as long as you have a Java
> bytecode interpreter. Is Sun going to release a free Macintosh Java bytecode
> interpreter?
I don't recall that, but since Sun is keeping Java closed, it might be
possible. But seeing as how they agreed to put the stuff in with
Metrowerks, I dunno. Besides, if you're used to developing on
CodeWarrior, it makes sense to just drop in the Java libraries and code
away. Nothing could be easier. Unless you paid someone to do it.
Yikes, that sounded like a commercial.
>
> Of course, the Sun Workshop product could be much more expensive than the
> Metroworks product.
And since with CodeWarrior you wouldn't be getting *just* Java, but you'd
be getting Pascal, C, C++, and all their utilities, why bother with
anything else? :)
Ryan
>
> |----------------------------------------------------------------------------|
> | R. Mark Volkmann - Principal Specialist Programmer/Analyst |
> | McDonnell Douglas Aerospace, St. Louis, Missouri, USA |
> | EMAIL m224873@svmstr01.mdc.com, VOICE (314)232-0498, FAX (314)233-5489 |
> |----------------------------------------------------------------------------|
>
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
|Ryan Garcia ryandhoz@umich.edu|
| RCSC, West Quad |
|Developer, University of Michigan Fantasy and Sci-Fi Home Pages|
| http://www.umich.edu/~umfandsf |
| Home Page - http://www.umich.edu/~ryandhoz |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
------------------------------
From: "Joshua Laase" <JLAASE@bio.tamu.edu>
Date: Tue, 28 Nov 1995 10:03:36 -0700
Subject: Re: Assistance in Santa Barbara
I would like some more information on this post. I live in Santa
Barbara, but go to school in Texas. I will be back in S.B. around the
17 of December.
Josh
JOSHUA E. LAASE
Student Technician I
JEL6392@ACS.TAMU.EDU
JLAASE@BIO.TAMU.EDU
HTTP://BIO-WWW.TAMU.EDU/GTL/
"Happiness is not the absence of conflict,
but being able to deal with it."
------------------------------
From: "R.Volkmann" <m224873@svxtrm14.mdc.com>
Date: Tue, 28 Nov 1995 10:17:33 -0600
Subject: Re: Mac availability
>Date: Tue, 28 Nov 1995 10:58:05 -0500 (EST)
>From: Ryan Garcia <ryandhoz@umich.edu>
>X-Sender: ryandhoz@ren.us.itd.umich.edu
>Cc: jsmart@smartny.com, tgibson@li.net, java-interest@java.sun.com
>Mime-Version: 1.0
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>On Tue, 28 Nov 1995, R.Volkmann wrote:
>
>> I read somewhere, maybe on this mailing list, that Sun is writing a Java
>> version of their Workshop development environment which is currently
>> available for FORTRAN, C, C++, and Ada. The interesting thing about
>> this is that it is being written in Java. I assume from this that
>> "Workshop for Java" will run on a Macintosh as long as you have a Java
>> bytecode interpreter. Is Sun going to release a free Macintosh Java bytecode
>> interpreter?
>
>I don't recall that, but since Sun is keeping Java closed, it might be
>possible. But seeing as how they agreed to put the stuff in with
>Metrowerks, I dunno. Besides, if you're used to developing on
>CodeWarrior, it makes sense to just drop in the Java libraries and code
>away. Nothing could be easier. Unless you paid someone to do it.
>Yikes, that sounded like a commercial.
>
>>
>> Of course, the Sun Workshop product could be much more expensive than the
>> Metroworks product.
>
>And since with CodeWarrior you wouldn't be getting *just* Java, but you'd
>be getting Pascal, C, C++, and all their utilities, why bother with
>anything else? :)
Easy for you to say Mr. I Get An Educational Discount! ;-)
If you're not interested in using Pascal can you delete that part to save
disk space? If so then maybe you could do the same thing to the C and C++
portions if you only want to use Java. I'm currently a C++ programmer but
if I could save money by not buying that part of CodeWarrior that would be
great.
|----------------------------------------------------------------------------|
| R. Mark Volkmann - Principal Specialist Programmer/Analyst |
| McDonnell Douglas Aerospace, St. Louis, Missouri, USA |
| EMAIL m224873@svmstr01.mdc.com, VOICE (314)232-0498, FAX (314)233-5489 |
|----------------------------------------------------------------------------|
Reality is so unreal; Like walking up a flight of stairs that lead nowhere;
Like swimming in mashed potatoes; Where's the gravy baby?;
If you wish to place a call please hang up and dial again;
Bunch of balloons; Funny clown; Is the circus in town?
- poem by Cool Cat, Dirty Dog, and Chicky Baby from Pee Wee's Playhouse
------------------------------
From: hideo-i@tech.toppan.com (Hideo Inoue)
Date: Tue, 28 Nov 1995 09:26:35 -0800
Subject: Re: Structure in Java
At 8:56 AM 95.11.27 +0000, Ki Hong wrote:
> Structure in Java 11/27/95
>
>Hi all!
>
>I need to define an array of two integer elements.
>It is defined in C as follows:
>
>typedef struct temp {
> int x;
> int y;
>}tempstruct;
>
>tempstruct xy[100];
>tempstruct X, Y, Z;
>
>Does anyone know how to define the above statements in Java?
>
>The answer would be greatly appreciated!
>
Try following code....
class tempstruct {
int x;
int y;
public tempstruct() {
this.x = 0;
this.y = 0;
}
}
tempstruct xy[] = new tempstruct[100];
for(int i = 0;i < 100;i++)
xy[i] = new tempstruct();
tempstruct X = new tempstruct();
tempstruct Y = new tempstruct();
tempstruct Z = new tempstruct();
If you have any problems, please let me know!
- --
Hideo Inoue
------------------------------
From: "i n S I T E !" <insite@interramp.com>
Date: Tue, 28 Nov 1995 10:17:46 -0800
Subject: AVI player
We've had little luck turning up any information regarding an AVI/movie player
within Java. Has anyone else come across anything? Jose Pena
<Jose.A.Pena@jpl.nasa.gov> provided an alternative - an AVI plugin demonstration
from Netscape - which can be found at:
http://home.netscape.com/comprod/development_partners/plugin_api/
Since we've heard nothing about Java and AVI support, we'd like to try this
Netscape plugin sample - however, our group will not have a Visual C++ environment
(needed to compile the sample plugin code) until the New Year. We use Prolog, Gnu
cpp and Java - we've yet to make use of Visual C++.
Can anyone compile the code and email/post the result? We'd greatly appreciate
the help - and will relay our experience with Netscape Beta 2/Java to anyone
interested by private email.
Thanks for any help,
Damion jl Hankeh
- --
/
i n S I T E o
web.internet consultants
Los Angeles & San Francisco
insite@interramp.com
310.288.7152
------------------------------
End of java-interest-digest V1 #275
***********************************
Received: from java.sun.com by unixgate.cohr.com (SMTPLINK V2.10.05)
; Wed, 29 Nov 95 08:16:44 PST
Return-Path: <owner-java-interest-digest@java.sun.com>
Received: (from majordom@localhost) by java.sun.com (8.6.12/8.6.12) id KAA16436 for java-interest-digest-outgoing; Tue, 28 Nov 1995 10:17:42 -0800
Date: Tue, 28 Nov 1995 10:17:42 -0800
Message-Id: <199511281817.KAA16436@java.sun.com>
From: owner-java-interest-digest@java.sun.com
To: java-interest-digest@java.sun.com
Subject: java-interest-digest V1 #275
Reply-To: java-interest@java.sun.com
Errors-To: owner-java-interest-digest@java.sun.com
Precedence: bulk
X-Info: To unsubscribe, send 'unsubscribe' to java-interest-digest-request@java.sun.com
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com