Article View: borland.public.jbuilder.java.language
Article #14874Re: Visibility problem
From: Robert E Bury
Date: Sat, 24 Jul 1999 00:00
Date: Sat, 24 Jul 1999 00:00
119 lines
5219 bytes
5219 bytes
Two things: 1. In an earlier message it was stated that IE4.0 does not have a Java console. Actually, in IE4.01 (I believe that was the 4.0 release) you can go to View-> Internet Options->Advanced tab->Java VM and check Java console enabled. After a browser restart, the Java Console menu item appears. 2. IE can be configured to allow applets to run outside of the sandbox. The global "enable" can be fine-tuned. See View->Internet Options->Security tab-> Custom radio button->Java. I would only go with Trusted Sites since there is a danger in opening up security... Bob Bury Rich Wilkman wrote in message <37990953.7F422BBF@inprise.com>... >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:
<7ndo71$7do$1@bgtnsc02.worldnet.att.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7n88rj$n7a8@forums.borland.com> <37989971.37AA87FA@inprise.com> <7nalrt$pl211@forums.borland.com> <37990953.7F422BBF@inprise.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: "Robert E Bury" <bury.r@worldnet.att.net> Subject: Re: Visibility problem Date: 1999/07/24 Message-ID: <7ndo71$7do$1@bgtnsc02.worldnet.att.net> X-Deja-AN: 504908698 References: <7n88rj$n7a8@forums.borland.com> <37989971.37AA87FA@inprise.com> <7nalrt$pl211@forums.borland.com> <37990953.7F422BBF@inprise.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc02.worldnet.att.net 932865057 7608 153.37.239.131 (25 Jul 1999 01:10:57 GMT) Organization: AT&T WorldNet Services NNTP-Posting-Date: 25 Jul 1999 01:10:57 GMT Newsgroups: borland.public.jbuilder.java.language