🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Visibility problem

#15012
From: Rich Wilkman
Date: Fri, 23 Jul 1999 00:00
95 lines
4309 bytes
Shawn:

I just want to know where you got JDK 1.1.9 <g>.

I don't think the comm packages will pass the security system (sandbox)
for applets.  Applets aren't allowed to access hardware on the client;
big hairy no-no.  Let the errors in the Java Console be your guide.

Printing from applets is a whole different ball of fish.  Since printing
in Java has never really worked well (it got almost okay around JDK
1.1.6), I'd start by looking at the java faq at afu.com for their tips
on printing.  You don't need serial port access for that, though you may
need to do some browser specific tweaking and coding.

-Rich

Shawn Clark wrote:
> 
> That rocks!
>     Hah.
> 
>     That did the trick, I got the 1.1.9 JDK, and now I can 'see' my applet.
> NOW, for my NEXT problem.
> Like I said, I am using the JavaComm API.  Now if I can just get the app to
> do ANYTHING.  I have a button plopped on my applet, which upon depression,
> outputs a litle text string to a little printer that I have.  It works in
> JBuilder, but not on my page...Doesn't seem to do anything..I am gonna debug
> some more...(In case you were wondering..hehe)
> 
> Rich Wilkman wrote in message <37989971.37AA87FA@inprise.com>...
> >Shawn:
> >
> >There's so many ways this could go wrong....
> >
> >First off, JB 3 will default to JDK 1.2, which browsers don't support
> >yet.  Make sure you use an older JDK for your code.  I'd have to guess
> >this is the initial problem you are having because not even your text is
> >showing up.
> >
> >IE4 doesn't have good Java support, and more importantly doesn't have a
> >Java console from which you can get your real error messages to help
> >diagnose the problem.  You should at least use IE 4.01 or higher.  (If
> >you get IE5, you'll then find that MS doesn't like Java and you'll have
> >to install the VM separately.)  Solving the problem keys off of getting
> >the error from the Java console in the browser.
> >
> >Your best bet to have images visible in IE (it will vary from version to
> >version) is to *not* store the images in your archive file.
> >
> >For the basics of applets, samples and a discussion of the pitfalls of
> >applets, try:  http://www.got.net/~rwilkman/java
> >
> >-Rich
> >
> >Shawn Clark wrote:
> >>
> >> I have a question,
> >>     When I run my Applet from JBuilder3, it see it's window the way it is
> >> supposed to be.  BUT, when I try to run it from a web page, all I get is
> the
> >> gray box, and my applet doesn't do anything.   I have place a JPEG image
> and
> >> a text label on the applet, but they don't show up?  Is there a parameter
> I
> >> must set for that?  I am using IE4/NT/JBuilder 3
> >
> >--
> >
> >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >Rich Wilkman
> >Quality Assurance Manager
> >Borland JBuilder Team
> >
> >If you see something that looks like an opinion up there,
> >it's mine and mine alone.
> >
> >Mail sent to me from the newsgroups won't bounce but will
> >be ignored.  If I have time, I'll respond, but you  have
> >a better chance if you confine your posts to the newsgroups
> >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Quality Assurance Manager
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <37990953.7F422BBF@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7n88rj$n7a8@forums.borland.com> <37989971.37AA87FA@inprise.com> <7nalrt$pl211@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,7b2b07b10f4630bc
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: Visibility problem
Date: 1999/07/23
Message-ID: <37990953.7F422BBF@inprise.com>
X-Deja-AN: 504594919
Content-Transfer-Encoding: 7bit
References: <7n88rj$n7a8@forums.borland.com> <37989971.37AA87FA@inprise.com> <7nalrt$pl211@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language