Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Tina Parks

Ranch Hand
+ Follow
since Jun 30, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tina Parks

My email to the author bounced.
18 years ago
In your opinion, would it help if I showed the applet to an audience, then destroyed it immediately afterwards? I am not talking about hiding the evidence, but rather just availing myself of the applet as quickly as possible.
18 years ago
Was this a dumb question?
I am using Opera as my Web browser, but I also use Netscape. I have found a Web page that includes an applet driven by a jar file. When I try to download the jar file, I get a window containing text (binary garble), not a prompt to save. (This is not a problem with preferences, as I can download jar files off of other Web sites with no problem.)
When the Web site is loaded, the jar file must be downloaded onto my computer, correct? So where is it? I have tried searching for the jar file, but nothing turns up. Is there special software that can monitor such net activity and display which files are being downloaded, and where?
Sorry to be impatient, but I teach a class this Monday and I cannot get the applet I was planning on demonstrating to load because the jar file doesn't want to download. Any help would be appreciated.
18 years ago
To answer my own question, it appears that downloading applets and incorporating them into your own instructional materials is not a copyright infringement as long as the setting is purely educational. Here is what I found. Does anyone disagree with my assessment?
"Notwithstanding the provisions of sections 106 and 106A, the fair use of a copyrighted work, including such use by reproduction in copies or phonorecords or by any other means specified by that section, for purposes such as criticism, comment, news reporting, teaching (including multiple copies for classroom use), scholarship, or research, is not an infringement of copyright.
In determining whether the use made of a work in any particular case is a fair use the factors to be considered shall include -
(1) the purpose and character of the use, including whether such use is of a commercial nature or is for nonprofit educational purposes;
(2) the nature of the copyrighted work;
(3) the amount and substantiality of the portion used in relation to the copyrighted work as a whole; and
(4) the effect of the use upon the potential market for or value of the copyrighted work. The fact that a work is unpublished shall not itself bar a finding of fair use if such finding is made upon consideration of all the above factors."
18 years ago
Okay, since no one has responded to Mr. Singh's question, I am open for responses? Can anyone help?
18 years ago
Does it matter if the material is strictly for in-class use? I thought educators were given more leeway in this regard.
18 years ago
Can anyone point me to some references concerning the copyright issues surrounding Java applets. Most specifically...
If I download an applet from another site and install it in my own HTML page (prominently crediting the original author wherever the applet appears), have I violated a copyright? Keep in mind:
1. I am not explicitly distributing the class files to anyone else, just using it on my own computer,
2. The author is credited for his work at all times.
18 years ago
Sorry, I just realized that siddhartha singh asked the same question. I will look for responses in his thread.
18 years ago
When a Java applet is running in a browser, the Java class file is sent to the host computer. How do I find it? I figured that there must be some sort of temporary folder where these class files reside while the applet is running, but my Search utility (from the Start menu) doesn't find it. I am using Opera, but I can use Netscape or IE in a pinch. Thanks.
18 years ago
Well, I found out what the problem was, and so for the sake of posterity I will post the solution. Maybe others will have the same problem.
It appears that Netscape 6 Composer cannot recognize the <applet> tag unless you insert it manually using Composer. So here is a summary of what I found:
1. Pre-existing <applet>...</applet> code will be wiped out by Composer once the HTML is edited in any way.
2. To insert an applet that Composer will not remove, you must use the Insert -> HTML... menu.
3. Any attempt to manually type in the <applet>...</applet> code will be negated once the file is saved or the Normal view mode is chosen. In other words, Composer will simply remove it. It wants you to use the Insert -> HTML menu, or else.
4. Once the <applet> and </applet> tags are inserted using the Insert -> HTML menu, then any manual changes to the HTML will be honored by Composer.
5. You cannot use more than one set of <>..</> commands at a time when using the Insert -> HTML menu. This includes <p> statements, and such. In other words, if you tried to insert the statement <p><applet>...</applet></p> it simply will not do it. However, it has no problem wth <applet>...</applet>.
Netscape Composer is HORRIBLE. I am still having a hard time getting it to insert javascript commands correctly.
18 years ago
I am trying to use Netscape 6's "Edit Page" utility to edit the HTML code of my pages. However, if I choose a page that has an applet, Netscape wipes out all of the HTML code for the applet as soon as the code is edited.
In a little more detail, here is what happens:
When I select "Edit Page" the applet appears in Normal mode. All of the applet HTML code is included. When I choose the option to view the HTML, and then immediately re-select the Normal option, nothing changes. However, if I view the HTML source and edit in any way, when I choose Normal mode all of the applet code disappears. The applet also disappears.
Java is enabled, so that doesn't seem to be it. Any ideas?
18 years ago
Thanks, but I have had my fill of Swing.
19 years ago
Great!
I do have one question -- what about the rectangle? In the above code I explicitly tell the program to draw a rectagle to use as a border around the applet window. Is this preferred?
19 years ago
Should I interpret the lack of responses as a good sign -- that there are no recommendations needed?
19 years ago
Okay, here is the code. It is designed to draw vectors with the mouse. I stripped it down quite a bit to shorten it, including the import statements. I am most concerned with the Canvas call (is there a better way?) and the drawRect() method I implemented in order to draw a border around the applet window. (There has to be a better way.) But most importantly, I am concerned about the overall structure -- I want a code that is robust. At any rate, thanks in advance. I loooove this forum!
__________________

(edited by Cindy to format code)
[This message has been edited by Cindy Glass (edited July 28, 2001).]
19 years ago