🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19727

Re: Applet Demonstration

#19727
From: Chris Dickerson
Date: Sat, 20 Dec 1997 00:00
47 lines
2039 bytes
Leo:
Of course, putting the text files on the same web site as
your applet, you can use the URL class to open the files
and display them however you wish.


Regards,

Chris Dickerson         | web http://www.tsc.com/~chrisd/
Technology Service Corp | JBuilder http://www.borland.com/jbuilder/
chrisd@tsc.com          | paper
http://www.borland.com/jbuilder/papers/visualjpp/


Leo Crawford wrote in message <67gi2a$eel9@forums.borland.com>...
>Hi,
>
>I've written a large project for my final year Computer Science project
>using JB, and I now have to demonstrate it, preferably as an applet.
>
>Essentially it takes input from two jbcl.control.TextAreaControl and places
>output in a third.  This is fine, but I have a number of common inputs
(i.e.
>files which I would like to be able to copy directly to one of the
>TextAreaControl's as the user's request).
>
>Currently I manually copy and paste from a text file, but I would like to
>improve this.  I know that I could simply copy the contents of a
>FileInputStream to a text string and then insert it, but this would cause
me
>Security problems I don't want to cope with.  Alternatively I could simply
>store the file as a text string using an assignment, and then set the
>TextArea Control to that String, however the files are too big to process
>manually.
>
>What I really want is someway of incorporating a number of text files in
the
>project, and deployment which can be accessed without any Security
problems.
>Is there any way to do this?
>
>Cheers
>
>Leo
>
>
Technical Details
Message-ID: <67hmp6$f3f17@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <67gi2a$eel9@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ab825e4aa5ad825e
X-Google-Attributes: gidf74b3,public
From: "Chris Dickerson" <chrisd@bloomington.in.us>
Subject: Re: Applet Demonstration
Date: 1997/12/20
Message-ID: <67hmp6$f3f17@forums.borland.com>
X-Deja-AN: 308963796
References: <67gi2a$eel9@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: None
Newsgroups: borland.public.jbuilder.java.language