How do I hide the grey java applet box in a html page

I have a page at http://www.iel.nzco.net/100/index.html with a java script box in the middle. The script runs a text around an image, but the page always shows the grey box until the image and the java class files download. Is there any way that I can hide the grey java box until the java stuff is loaded then "reveal" the image. I have tried using a layer with the star background in it but the grey box still shows up. Any ideas you may have will be appreciated

Hi raypuddy,
I have found only one example in a book I own "Java 2 - The Complete Reference" by Shildt and Naughton. Essentially it has to be performed in the init() method:
public void init() {
String s = getParameter("bgcolor");
if(s != null) {
Color color = new Color(Integer.parseInt(s.substring(1), 16));
setBackground(color);
getParent().setBackground(color);
getParent().repaint();
... etc.
The approach is to get the background painted ASAP and defer other class loading until after the Applet is up and running. Under IE there will still be some user feedback of the Applet loading (spinning globe, status line).
IMHO it is a lot of extra effort for little esthetic value.
Regards,
John

Similar Messages

  • How do I hide the grey space between pages in a document?

    I am still trying to learn Pages after using MS Word for many years and I am unable to find how to eliminate the space between pages in a document on screen. I should add that after reading a lot of reviews re: versions of Pages I ordered a CD of iWorks 09  as the concensus seemed to be that the earlier versions were much better than the most recent.  Anyway, I would like to just see the text and nothing else as though it is just one very long page! How can I do that without updating to the current version of Pages?
    I have a MB Pro running iWork 09 version 4.3 on Yosemite (up-to-date).

    Thanks for the response, Peter! I have seen your replies on many questions and you seem to be the bomb when it comes to Mac 'stuff' !
    I guess i didn't explain myself well...I do not want to eliminate pages, I merely did not want to have all that wasted space (margins/footnotes/headers/grey) between the text I have on each page. It is merely for what I see on the screen - not elimination of the formatting/paging etc..
    I have about a 15-20 page 'cheat sheet' that I have open frequently on the far right of my screen as I am working at my laptop which I refer to intermittently. I need to scroll thru pages to find what I am looking for and I just wanted to reclaim some real estate, so to speak. I don't want to change anything other than what I see on the screen - if I choose to print all or part of my 'cheat sheet' the format doesn't change and I can print whatever individual pages necessary! Actually I think there may still be a line showing a page break but no real 'space' between the pages. 
    Did this explanation help to further delineate what I am trying to do? and is it possible?

  • Realy no one knows how to remove the word "java applet window" besides sign

    Hi, everyone,
    I am trying to remove the line "java applet window" from my nice/colorful interface, but what I was told is that I can not remove if i do not sign for digital singiture. Is this really a limition of Applet?
    I do not know why t he design want to add this stupid feature. As most people are not technical people, they do not care whether it is applet or not. For technical people, they should know that some thing popup from the browser and have a "java" sign on the right top corner is Applet.
    Only too sad about that.

    In the browser window, the address bar will also display the correct URL for the page being displayed.
    An applet window could spoof this address bar and otherwise mimic the look and feel of the browser (or any other application), thus tricking the user into believing the window to be legitimate.
    Just because there are already potential security/privacy issues in the applet specification, doesn't mean we want to open up another one! Why do you want an unsigned applet with a window without a warning message? You'll need a certificate anyway if you're planning on using secure communication - sending client data across an unsecure connection is rather less professional than spawning a window with a well-known and generally-ignored warning message.

  • How can I hide the class file ??

    Hi !
    I has a question, when i write a program of Java, then use the command "javac" to compiler to class file for other people using, but the class file can be disassembled and convert to source code. How can I hide the class file and let people can not disassemble, or can not see the source code. Thinks

    See these....
    http://www.saffeine.com/
    http://www.jarsafe.com/
    I recently read this. This will help you.
    http://developer.java.sun.com/developer/qow/archive/160/index.jsp
    Enojy....
    Rajesh

  • How can I hide the password and user name in url???

    Hi experts,
    I'm creating a login page and know I have a problem.
    The Username and password are verified in a Java class, after checking the user and password, the user should be linked to the portal.
    So far everything has worked well.
    But when I call the lin like this
    res.sendRedirect ("/ irj / portal j_user =" + UserN + "& j_password =" + passw);
    then the user name and Pwasswort appears in the url.
    Can someone tell me how can I hide the password and user name???
    It will be very helpful.
    Thank you
    Edited by: Cilvaring on Aug 5, 2011 12:00 PM

    If there is no specific reason that you have to use sendredirect...thne you can try request.forward.....
    RequestDispatcher rd = request.getRequestDispatcher("pathToResource");
      rd.forward(request, response);

  • Can you please tell me how can i change the parameter of Applet using Aspec

    Respect Members
    Can we apply Aspectwerkz on Applet? In our project we have to
    change the method parameters before its execution(Around Advice) , can we do this in applet using Aspectwerkz?
    Can you please tell me how can i change the parameter of Applet using Aspectwerkz or AspectJ ?
    I did it by for Java Application using the AspectJ And Aspectwerkz But not able to do for Applet.
    For Applet I Am setting the parameter in JAVA plug in for Aspectwerkz e.g. -Xdebug -Xrunaspectwerkz -Xbootclasspath & path for xml file in which pointcut is defined.
    If you any Friend working on it or any author who might be helpfull for me please Forward this mail to him/her
    THANKs in Advance
    [email protected]

    hello rodale, what you're seeing is probably a side effect of firefox not being able to save certain preferences into its profile folder.
    go to ''firefox > help > troubleshooting information'', click on ''profile folder/show folder'' and close all firefox windows afterwards. a windows explorer window should open up - in there delete the file named '''user.js'''.
    in case this didn't solve the issue yet please also refer to [[How to fix preferences that won't save]].

  • How to use C-Structure in java applets

    hi alls,
    I want to use a struct model (struct in C++) in java applets. i know class is used in java applications. but, how can i convert in java applets?
    class renk
    int r;
    int gr;
    int b;
    import java.awt.Graphics;
    import java.awt.Color;
    import java.awt.Event;
    import java.applet.Applet;
    public class benek extends Applet
    final int n=10;
    int x[] = new int[n];
    int y[] = new int[n];
    int count = 0;
    renk clr[] = new renk[n];
    public void init()
    setBackground(Color.black);
    public boolean mouseDown(Event yordam, int xyer, int yyer)
    if (count<n)
    System.out.println("...");
    ekle(xyer,yyer);
    else System.out.println("Kapasite Doldu...");
    return true;
    void ekle(int xyer, int yyer)
    int r1 = (int)Math.floor(Math.random()*256);
    int gr1 = (int)Math.floor(Math.random()*256);
    int b1 = (int)Math.floor(Math.random()*256);
    clr[count].r = r1;
    clr[count].gr = gr1;
    clr[count].b = b1;
    x[count]=xyer;
    y[count]=yyer;
    count++;
    repaint();
    public void paint(Graphics g)
    it gives error message... how can � use struct model in java applets???
    if you help me i will be greatfull....

    � use import but it doesn't work.
    i add: import renk; or import class renk;
    how will � add import I assumed based on your initial post that the renk and benek classes were in the same file. Apparently you're saying they are not. So for another thing, make your renk class "public class renk", and add the "public" keyword to the 3 members of that class. Then if your code still doesn't see the "renk" class, it would just be that you don't have the directory that contains the compiled "renk.class" in your classpath.

  • How can I remove the lable "Warning:Applet window" of pop frame in a applet

    How can I remove the lable "Warning:Applet window" of pop frame in a applet? Not only in MS IE's JVM,but also in java plug-in 1.40, the warning always display , What can I do?
    ===
    thank you!

    You cannot remove the label. It is there intentionally as a security measure, to warn the user that the window is from a running applet, so that (s)he knows it might be dangerous to enter sensitive information there (any applet from anywhere on Internet could have opened the window, who knows if it is malicious or not!).
    Perhaps you can open a window without the warning when you sign your applet (with a security certificate).
    Jesper

  • How do I hide the artist picture in ios 7 music player?

    I like the artist and album "list view" in the ios 6 music player much better than the view that includes a random picture on ios 7.  How do I hide the picture and get my list view back?

    Just to clarify the behavior I'm experiencing on my iPhone 5, I can get new updates but the old ones appear with the Open button and don't clear themselves out from the Update screen.

  • How can i hide the menu bar at the bottom of the app in itunes

    how can I hid the bar at the bottom of the App screen in itunes. Where it shows how much audio, app etc space you have left on your device

    Unforrtunately the status bar doesn't make any difference, however I have worked out that the bar does show when I go into full screen. 
    I would have thought it should also work when not in full screen - it certianly used to.

  • How can I hide the borders and keep it as an option?

    How can I hide the borders and keep it as an option?  I had someone go into the css I believe, and make it so there were no borders visible on the page (I could see the dotted outline while working on it, but when pushed, it wasn't visible (which is what I wanted).  They called it "noborders."  Since I had to reinstall, it went away.  Help?
    I have Dreamweaver CS5.5

    Try this site:  CSS Border
    Add code then type in a zero. Later add border size you want.
    examples:  border: 0px solid black;
    or
    border: 1px 000000;
    or
         border-top-style: solid; 0px 000000;
         border-right-style: dotted; 0px 000000;
         border-bottom-style: solid; 2px 000000;
         border-left-style: dashed; 1px 000000;

  • How do you reactivate the grey utilities scroll up tab at the bottom of the screen that should reveal wifi, bluetooth etc? Doesn't matter what orientation the ipad is in, it won't scroll up from the bottom. All other screen functions work normally.

    How do you reactivate the grey utilities scroll up tab at the bottom of the screen that should reveal wifi, bluetooth etc?
    Doesn't matter what orientation the ipad is in, it won't scroll up from the bottom.
    All other screen functions work normally.

    Settings/Control Center. There are two options which are pretty self-explanitory...one enables/disables access on the Lock Screen and one enables/disables access within apps/games.

  • How do I hide the background when I shape an image in 3D?

    This is a problem that has cropped up before but I'm going to simulate it.
    Say in this instance I want to overlay the picture of a kitten over a ball image. I've already extracted (roughly) the background from the kitten picture. I want to use 3D to warp it to the shape of a sphere but I've still got the ball's default background colour as well. How do I hide the background colour of the ball entirely so only the, warped, image of the kitten is visible to overlay over the ball image?
         When I wrap the kitten image onto a 3D sphere mesh preset I get the default background
         And when I try to overlay it over the 2D ball image the background prevents correct overlaying. I want just the kitten pic
    Thanks

    You apply the texture to the transparency of the material.
    Mylenium

  • How I can hide the iCloud music library in iTunes?

    How I can hide the iCloud music library in iTunes? I want to see only my local music library.

    If you go into edit and click preferences there is a checkbox in the "store" tab that says "Show iTunes in the Cloud purchases" if you uncheck that it will show only the local content.

  • How can I hide the scroll bar in TextArea?

    How can I hide the scroll bar in TextArea?

    Hi. To remove the horizontal scrollbar you can do this:
    textArea.setWrapText(true);
    To remove the vertical scrollbar you can do this:
    ScrollBar scrollBarv = (ScrollBar)ta.lookup(".scroll-bar:vertical");
    scrollBarv.setDisable(true);  and set the opacity to 0 in the css file:
    //css file
    .text-area .scroll-bar:vertical:disabled {
        -fx-opacity: 0;
    }Here is an example:
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ContextMenu;
    import javafx.scene.control.MenuItem;
    import javafx.scene.control.ScrollBar;
    import javafx.scene.control.TextArea;
    import javafx.scene.input.ContextMenuEvent;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    public class TextAreaSample extends Application {
        @Override
        public void start(Stage primaryStage) {
        final TextArea textArea = new TextArea();
            textArea.setWrapText(true);
            StackPane root = new StackPane();
            root.getChildren().add(textArea);
            Scene scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
            ScrollBar scrollBarv = (ScrollBar)textArea.lookup(".scroll-bar:vertical");
            scrollBarv.setDisable(true);
        public static void main(String[] args) {
            launch(args);
    }

Maybe you are looking for

  • Macbook pro with 10.9.4 running slow / slow startup

    Hey guys - I hope that you will be able to help me Lately my macbook pro has been running generally slow - the spinning circle is often appering, programs are starting up slowly, and the startup takes more than 1,5 min and around 3 min before it can

  • 100% Sampling Procedure is not functioning for Prod. Order - Insp.Type:03

    Hi Experts, We have a number of material as  SPARE PARTS. We are creating Production Order for these Spare Parts. Inspection Type 03 is used for it. Customization -> Define Default Values for Inspection Type Sample  100 % Inspection Check Box is act

  • Common View: 404 in JDeveloper Forum

    Is it only me who always hits a 404-Error when trying to access the JDeveloper Forum? Several times a day I hit http://www.oracle.com/errordocs/404.html instead of the requested JDeveloper forum. And some minutes lates it works again. What's wrong? I

  • Check two columns and update other table

    HI , I have a table called trackCenterline .Below is the table. What i want to do is If the segmentSequenceID is 1 it should pick the corresponding SegmentID i.e 10001 and Check for the same segment id in other table called TrackSegment which is belo

  • Help with Audio for Premiere Project

    Working on a lengthy project and need some help with audio which is not my specialty! I am recording using a Sony EX1r and a wireless lav mic,     OK.  Here is what is happening. When I import the clip into project I get Audio from the left speaker.