Applet window with no warning string without signing, they did it, but how?

I've searched the forum and the web and nobody seems to be able to get an applet window with no warning string without signing the applet or changing the security policy file.
But running my applets under the Java plugin 1.3.1_03, I've observed that sometimes I get exactly such windows for tool tips or popup menus, while other times I still get the kind with the warning string. And no I am not talking about those that lies entire within another Java window so that a lightweight implementation could be used.
Seeing a warning attached to the bottom of your tool tips or popup menus is certainly annoying,
clearly Sun has been able to nail that problem, just not 100 percent.
But I've been unable to figure out how they did it, does anybody have an idea?

The bar may be annoying, but it's pretty necessary for
unsigned, unsecure appletsI understand that, however, Sun seems to be able to work around that (sometimes) for windows that host tool tips and popup menus, and I would like to find out how.

Similar Messages

  • Opening new applet windows with button

    I'm having a bit of trouble. I have this button when you click it, would open up another window with text in it. That works perfectly. But when I try to add another button for another window, it doesn't go perfectly.
    I took out the useless code to show you the main stuff I'm working with.
    import java.awt.*;
    import java.applet.*;
    public class HorseRacing extends Applet
        CustomFrame gameWindow;
        CustomFrame creditWindow;
        Button openGame, openCredit;
        Image redHorse, yellowHorse, blueHorse, orangeHorse;
        public void init()         
              //Initializes the images
            redHorse = getImage(getCodeBase(), "../classes/horsered.GIF");
            yellowHorse = getImage(getCodeBase(), "../classes/horseyellow.GIF");
            blueHorse = getImage(getCodeBase(), "../classes/horseblue.GIF");
            orangeHorse = getImage(getCodeBase(), "../classes/horseorange.GIF");
              //Instructions window
            gameWindow= new CustomFrame("21 Century Horse Racing - Instructions", redHorse);
              openGame=new Button("View Instructions");
              add(openGame);
              //Credit window
              creditWindow=new CustomFrame2("21 Century Horse Racing - Credits");
              openCredit=new Button("View Credits");
              add(openCredit);
        //  Method Name: action()
        //  Parameters Passed: Event variable evt, Object varible obj
        //  Data Returned: Variable true
        //  Method Purpose: This block responds when the user takes an action
        //                  (such as hitting the return key). It causes the paint
        //                  block to be done again
        public boolean action(Event evt, Object arg)
            Graphics screen=getGraphics();
               boolean visible=gameWindow.isShowing();
            boolean visible2=creditWindow.isShowing();
               if(evt.target instanceof Button)
                 if(visible)
                         gameWindow.hide();
                         openGame.setLabel("View Instructions");
                    else
                         gameWindow.show();
                         openGame.setLabel("Close Instructions");
                    if(visible2)
                         creditWindow.hide();
                         openCredit.setLabel("View Credits");
                    else
                         creditWindow.show();
                         openCredit.setLabel("Close Credits");
            return true;
    //  Name: Sachit Harish
    //  Name of Program: CustomFrame
    //  Date Started: May 15, 2003
    //  Date Finished: 2003
    //  Program Description: This is a racing game where the program will
    //                               generate random odds for the 4 horses. The user
    //                               can then choose their horse and place a bet.
    //                               The user will then see the horses race, and the
    //                               money will be handed out depending on the odds.
    class CustomFrame extends Frame
         CustomFrame(String title,Image redHorse)
              super(title);
              Graphics screen=getGraphics();
              //getClass().getResource("../classes/horsered.GIF").getImage();
              //redHorse=getImage("../classes/horsered.GIF");
              //screen.drawImage(redHorse, 0,0,10,10,this);
         public void init()
              setBackground(Color.gray);
         public void paint(Graphics screen)
              resize(430,280);
              screen.setColor(Color.lightGray);
              screen.fillRect(0,0,500,500);
              screen.setColor(Color.black);
              screen.drawRect(15,40,402,185);
              screen.drawRect(14,39,404,187);
              screen.setColor(Color.gray);
              screen.fillRect(16,41,401,24);
              screen.setColor(Color.black);
              screen.drawString("- - Instructions - -", 160,58);
              screen.drawLine(15,65,417,65);
              screen.drawString("    Once you start clicking on the checkboxes to choose your horse, the", 20,80);
              screen.drawString("odds will be created beside the horses. You can then select the horse",20,95);
              screen.drawString("you want with the checkboxes and in the input box place your bet amount",20,110);
              screen.drawString("Press enter to confirm your bet and click 'Race'.",20,125);
              screen.drawString("    The horses will then race, and once they finish, the winner will be",20,145);
              screen.drawString("displayed. If you didn't choose that horse, you will lose the money you",20,160);
              screen.drawString("bet. If you won, you will be payed out depending on the odds of that",20,175);
              screen.drawString("horse. Your bank will change according to how much money you lost or",20,190);
              screen.drawString("made. Once that is over, new odds will be created and you can play",20,205);
              screen.drawString("again.",20,220);
                 //Image title = getImage(getCodeBase(), "../classes/titlepicture.jpg");
            //screen.drawImage(title, 0,0,430,220,this);         
    //  Name: Sachit Harish
    //  Name of Program: CustomFrame
    //  Date Started: May 15, 2003
    //  Date Finished: 2003
    //  Program Description: This is a racing game where the program will
    //                               generate random odds for the 4 horses. The user
    //                               can then choose their horse and place a bet.
    //                               The user will then see the horses race, and the
    //                               money will be handed out depending on the odds.
    class CustomFrame2 extends Frame
         CustomFrame2(String title)
              super(title);
              Graphics screen=getGraphics();
              //getClass().getResource("../classes/horsered.GIF").getImage();
              //redHorse=getImage("../classes/horsered.GIF");
              //screen.drawImage(redHorse, 0,0,10,10,this);
         public void init()
              setBackground(Color.gray);
         public void paint(Graphics screen)
              resize(430,280);
              screen.setColor(Color.lightGray);
              screen.fillRect(0,0,500,500);
              screen.setColor(Color.black);
              screen.drawRect(15,40,402,185);
              screen.drawRect(14,39,404,187);
              screen.setColor(Color.gray);
              screen.fillRect(16,41,401,24);
              screen.setColor(Color.black);
              screen.drawString("- - Credits - -", 160,58);
              screen.drawLine(15,65,417,65);
              screen.drawString("    CREDITS", 20,80);
                 //Image title = getImage(getCodeBase(), "../classes/titlepicture.jpg");
            //screen.drawImage(title, 0,0,430,220,this);         
    }If I take away everything associated with the creditWindow, it will work. But when I add that in, I get problems.
    Also, I let in those redHorse, yellowHorse, blueHorse, and orangeHorse images because thats another problem I'm having - to get an image to work in one of those new windows.
    -s64

    What happens if you change to a modern action listener?

  • I have Lightroom 4 and want to upgrade Lightroom 5 with a perpetual license, without buying creative cloud. Please how to do ? Thanks

    I have Lightroom 4 and want to upgrade Lightroom 5 with a perpetual license, without buying creative cloud. Please how to do ? Thanks

    Or wait a few weeks and get LR6, maybe?   We’re up to LR 5.7 and there’s never been a LR somethingxzxz.8 so it would make sense that the next version is a payfor upgrade, again, with some sort of improvements and new features over LR 5.  This suggestion assumes LR6 will be available as a perpetual license as an upgrade to LR 4, which I would expect, but you never know.

  • Itunes show duplicate, 1 with icloud and 1 without. are they both on hard drive?

    itunes shows duplicates - 2 with icloud and 1 without.
    are they both on hard drive?
    which ones should i delete?

    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    The should then show in your iTunes library. They are not anywhere else.

  • HT5114 I lost my iphone 5 without signing out my account but I have bought another one. How can I make sure that the person in possesion of the phone is not using my account to make purchases? ?

    I lost my iphone 5 without signing out my account but I have bought another one. How can I make sure that the person in possesion of the phone is not using my account to make purchases? ?

    Thanks for your prompt response... will changing my password also stop the authomatic download of my new applications and music from downloading to the stolen phone?

  • HT1918 Hi, I have registered at apple site, and i have submitted the credit card information, they deducted some ammount without my permission, why they did that? how can i remove my credit card details from that site or deactivate my account?

    Hi, I have registered at apple site, and i have submitted the credit card information, they deducted some ammount without my permission, why they did that? how can i remove my credit card details from that site or deactivate my account?

    From that HT3702 page :
    If you update your billing information, the iTunes Store or Mac App Store will place an authorization hold on your payment card account, usually in the amount of 1 USD or the local currency equivalent, to verify your account information.
    You might see authorization requests on your online statement. These requests aren't actual charges; they are tests to confirm that your payment card account is active and has available funds to accommodate transactions. Authorization holds are removed by your financial institution shortly after your purchase clears. The time it takes to remove authorization requests varies by financial institution.
    The number of days that it takes to diappear varies by bank, but it's usually a few days - though with the weekend coming up it might take an extra day or two

  • I'm a MB Pro beginner (after 25 years with PC). I have an Iomega ext HD, but how do get it indexed. I'm trying searches in Finder, and it says "searching Iomega drive" - but I don't think it's indexing. How do I force it to index?

    I'm a MB Pro beginner (after 25 years with PC). I have an Iomega ext HD, but how do get it indexed?, and it doesn't come up with any results I'm trying searches in Finder, and it says "searching Iomega drive" - but I don't think it's indexing. How do I force it to index?

    Well I'm leaning the other way. I think my present MBP will be the last Apple product I buy.
    With the way Apple is going, all New Mac computers are sealed unit that don't allow the user to upgrade them in any way. They are getting more expensive initially. They are impossible to fix, even by Apple. All the parts are either soldered to the Logic Board or glued inside the case parts. The add on warranty only covers manufacturing defects and is expensive. And to fix one out of waranty is close to if not more then a new system.
    The only thing different in a Mac, and most other products Apple sells, is the operating system and the cases they come in. As for the OS both have their glitches and at this time there are no viruses that infect OS X. There is more software available for Windows. More choices as to what hardware you can use or upgrade to at a later date.
    Mac computers are becoming large iPads or iPhones with built in keyboards.
    jeremy_from_rome wrote:
    And as for the question: PC or Mac, the consensus that I hear from colleagues and friends is just as you state it: stay with Mac, be patient, work at it, and you’ll never look back! Thanks again

  • How do i reset my mac completely? I have parental controls and cant seem to get to time machine cause i bought the computer with parental controls on it and they did not have the password. How do i completely reset my macbook pro?

    how do i reset my mac completely? I have parental controls and cant seem to get to time machine cause i bought the computer with parental controls on it and they did not have the password. How do i completely reset my macbook pro?

    If you have a rescue email address (which is not the same thing as an alternate email address) on your account then the steps on this page will give you a reset link on your account : http://support.apple.com/kb/HT6170
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps on this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5620
    Or, if it's available in your country, you could change to 2-step verification : http://support.apple.com/kb/HT5570

  • I just turned on iTunes on my Mac and suddenly instead of the usual song list there's a window with what looks like a screensaver graphic.  Anyone know how to get rid of this permanently?  Thanks.

    I just turned on iTunes on my Mac and suddenly instead of the usual song list there's a window with what looks like a screensaver graphic.  Everytime I close it it just comes back.  Does anyone know how to get rid of this permanently?  Thanks.

    See this thread...
    tt2

  • I'm using OS 10.10.1 and Safari 8.0.  I keep getting a error window to install Java Runtime Environment.  I did so, but keep getting the error window.  Any suggestions?

    I'm using OS 10.10.1 and Safar 8.0.  I keep getting an error window that to view web content I need to install Java Runtime Environment.  I did so, but keep getting the error window.  Any suggestions?

    Most likely, you have a web plugin that depends on the Java runtime distributed by Apple, such as the Facebook video calling plugin or the "NexDef" plugin for watching baseball streams. If you no longer need the plugin, remove it. Otherwise, install Java.

  • String objects with the same string pointing to the same place but?

    Hi,
    Here is a simple sample
    String str1 = "a";
    String str2 = "a";I understand that in Java str1 and str2 pointing to the same place in memory and Java compiler wouldn't save the string "a" in two different places in memory. Am I right?
    If so, if the value of str1 changes to something else as following:
    String str1 = "a";
    String str2 = "a";
    str1 = "b";why str2 which has been pointing to the same place as str1 before is still containing ?a? and not ?b????
    Thanks!

    Maria1990 wrote:
    Hi,
    Here is a simple sample
    String str1 = "a";
    String str2 = "a";I understand that in Java str1 and str2 pointing to the same place in memory and Java compiler wouldn't save the string "a" in two different places in memory. Am I right?Correct.
    Maria1990 wrote:
    If so, if the value of str1 changes to something else as following:
    String str1 = "a";
    String str2 = "a";
    str1 = "b";why str2 which has been pointing to the same place as str1 before is still containing ?a? and not ?b????Because str2 is pointing to the same "a", but it is not pointing to str1.
    This is what happens:
    String str1 = "a";
    /*                 +---+
             str1 ---->| a |
                       +---+
    String str2 = "a";
    /*                 +---+
             str1 --+->| a |
                    |  +---+
                    |
             str2 --+
    NOT:
                       +---+
         +-> str1 ---->| a |
         |             +---+
         |
         +- str2
    str1 = "b";
                       +---+
                 +---->| b |
                 |     +---+
                 |
                 |     +---+
            str1-+  +->| a |
                    |  +---+
                    |
             str2 --+
    */

  • Dragging an existing tab to the desktop (or below tab bar) does not open that URL in a new window, only a new window with an empty tab. FF4 RC2 (did it with RC1 as well).

    When I drag an existing open tab from the FF4 tab bar onto my desktop, a new window opens as expected but the tab within that window does not load the URL of the tab dragged from the previous window. The tab menu item "Move to New Window" does the same thing as well.
    I have disabled Tab Mix Plus add-on but it has made no difference. Is there a setting somewhere that I am missing?

    I use Tab Mix Plus and do not have that problem.
    <br/>
    You may need to try Firefox Safe Mode to see if an add-on is causing the problem; see: http://kb.mozillazine.org/Safe_Mode
    *<u>In Firefox 4, to enter Safe Mode, hold the Shift key while clicking on the Firefox 4 desktop icon.</u>
    *Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes '''<u>before</u>''' starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    * If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling '''<u>one at a time</u>''' until the problem reappears. '''<u>You MUST close and restart Firefox after EACH change</u>''' via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    * See the following for more information
    ** http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes
    ** http://support.mozilla.com/en-US/kb/Troubleshooting+plugins
    ** http://support.mozilla.com/en-US/kb/Basic+Troubleshooting

  • My macbook pro when started has a white screen with flashing apple, file with question mark and stop signs...any ideas how to reboot it? command R doesn't work

    Any help appreciated please.
    After a while of being like this is turns off.

    You may have to reset your MBP PRAM:
    http://support.apple.com/kb/ht1379
    The boot drive may need repair in Disk Utility>First Aid (verify and repair)
    Critical system files may be damaged which will require that the OS may need to be reinstalled.
    The connection to the boot drive is faulty.
    The HDD has failed and needs to be replaced.
    Ciao.

  • I downloaded 'bookmarks.html' from another Firefox and the book marks don't merge with my existing ones nor will they replace them. How do I get them into a SINGLE 'unsorted bookmarks' file?

    My O/S is Windows Vista.
    Please explain baby-step-by-baby-step in 'kindergarten' language, will you?

    Thanks for the response, cor-el....Seems like I've seen your name and help on the Secunia forum, maybe? And it does seem like I have a separator, but that is not the case. After opening the manager, and all bookmarks, the "Bookmarks Menu", by double clicking, shows 4 separators, and the fourth section has two alphabetized lists, (without a separators) The first list is about thirty, and the second list of all the rest, 100+. I've looked all through the two referrals you mention, and nothing fits. I just downloaded the "SortPlaces" add-on and will see if that works out just to get around the "short list" that tends to throw me off in looking up bookmarks in the main (longer list). Thanks for your suggestions, I will let you know how it works out, but tonite I am ready for the sack....manana..
    PS. I am including a screenshot that shows how it is organized, with the short list on the top, and the start of the "A's" on the longer list....(couldn't get any more on the page for the screenshot)

  • While I appreciate the Adobe training videos, I would like to be able to print a hard copy of the content of the videos so that I have something to refer to without returning to the video but how can I do that?

    I really enjoy the helpful videos when finding an Adobe Acrobat answer but I would like to be able to print the content of the video so that I can refer to it for help whenever I want without having to find the helpful training video all over again and have to watch it all over it again so can this be done and if so how?? - thanks

    Thanks and yes, of course I could bookmark them but then I would have go continually go back and look at them all over again when I needed them which is not much of a time saver.
    I guess I will have to do what the reply suggested and that is make screen shots and a combined PDF file from the screen shots in order to get exactly what I want.  However, I feel this kind of  defeats the real purpose of  real "Help" in some way.  Why not offer a print option on these video tips as I know there must be others who would often prefer a hard copy for referral as opposed to having to go to a bookmarked video again, just seems like a waste of time when you are in a hurry which is often the case.

Maybe you are looking for

  • Source & Program Monitor

    I shooted a stage program with two cameras. I am using CS5.5 to edit the videos. How can I see both cameras videos same time one in source monitor another in program monitor. If I use gang source and program monitor the I can see both videos in sourc

  • Facetime with other countries

    I recently got an iphone 4s. i have a U.S. phone number and I want to know if i can facetime with an Australian phone number

  • Removing Flash Version not supported

    Whenever I go to buzzword it tells me that Flash 10 is not yet supported and I then have to click the link at the bottom to go into buzzword. Is there any way I can get buzzword to bypass the not supported page on my computer so that I can go straigh

  • Re: how do I solve this alert-The photo "evaluation.jpeg" could not be opened, because the original item cannot be found.

    Re: how do I solve this alert-The photo "evaluation.jpeg" could not be opened, because the original item cannot be found. How do I get rid of the alert so that every time I open iphoto or sync my iphone it will not come up anymore. Thanks

  • Load balancing RMI.

    Hi, We have a system which pulls information from the database and does lot of processing on the data . So it is leading to some instability and bottle necks to scale it horizontally. So we are trying to change the system so that it will pull the dat