Applet loading through browser, but showing in its own window

Hello,
I have created an applet, which talks to a servlet.
This servlet then talks to a DB, and returns information to the applet to process and display.
Everything works fine, except that the applet loads it's own window, instead of displaying in the browser.
Any ideas?
Haig

The answer is probably somewhere in your applet source code.
Can you post the code here, so I can have a look at it? Otherwise it's difficult to answer.
BTW - it's nothing to do with the fact that it connects to a servlet. If you don't want to post the whole applet, maybe I can tell from just the init() method.
Also - what browser are you using?
Yours, Mike H..

Similar Messages

  • Applet loading in IE but shows source in FireFox3 problem

    Hello,
    I want to put an applet onto my church's web site. I decided to just put a simple test applet on to see how to use applets. I also put a link on the site to the html page that contains the applet declaration. Here is the html code
    <html> <applet height="600" width="600" code="com.program.startup.Starter.class">
    <param name=archive value=http://www.wheeling22.adventistchurchconnect.org/site/1/directory/WheelingWebSite.jar /> Your browser does not support the <code>applet</code> tag. </applet>
    </html>
    When I navigate to the site in IE and click on the link the applet loads, but when I navigate to the site in FireFox3 it displays the html code. My FireFox browser runs applets just fine on other sites, so is there something else I need to put in the html code for FF3?
    thanks
    jman

    cell@tech wrote:
    When I navigate to the site in IE and click on the link the applet loads, but when I navigate to the site in FireFox3 it displays the html code. My FireFox browser runs applets just fine on other sites, so is there something else I need to put in the html code for FF3?Works fine with FF2.
    Try to add a BODY to your HTML.
    <html>
    <body>
    <applet height="600" width="600" code="com.program.startup.Starter.class">
    <param name=archive value=http://www.wheeling22.adventistchurchconnect.org/site/1/directory/WheelingWebSite.jar /> Your browser does not support the <code>applet</code> tag. </applet>
    </body>
    </html>Bye.
    RG.

  • Moving tabs from one window to another makes the new window vanish. I have hot corners enabled so when I move up to the right corner of my display I can see all my open windows but when I click on the tab that I moved to make it its own window it vanishes

    Moving tabs from one window to another makes the new window vanish. I have hot corners enabled so when I move up to the right corner of my display I can see all my open windows but when I click on the tab that I moved to make it its own window it vanishes

    I came up with an alternative solution.
    Instead of actually trying to move the JInternalFrame from one JDesktopPane to another, I added a single, maximized JInternalFrame to the left side. When one of the right side frames is to be docked, I merely copy its ContentPane to the single JInternalFrame on the left, set the original to be non-visible, and adjust the properties of the JSplitPane to make the "docked" frame appear.
    When the "close" button on the docked frame is pressed, I simply undo this procedure to "undock" the frame and redisplay it on the right-hand side (with its content intact from the docked frame, but in its original position).

  • How to create a window with its own window border other than the local system window border?

    How to create a window with its own window border other than the local system window border?
    For example, a border: a black line with a width 1 and then a transparent line with a width 5. Further inner, it is the content pane.
    In JavaSE, there seems to have the paintComponent() method for the JFrame to realize the effect.

    Not sure why your code is doing that. I usually use an ObjectProperty<Point2D> to hold the initial coordinates of the mouse press, and set it to null on a mouse release. That seems to avoid the dragging being confused by mouse interaction with other nodes.
    import javafx.application.Application;
    import javafx.application.Platform;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.collections.FXCollections;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Point2D;
    import javafx.geometry.Pos;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.AnchorPane;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.Window;
    public class CustomBorderExample extends Application {
      @Override
      public void start(Stage primaryStage) {
      AnchorPane root = new AnchorPane();
      root.setStyle("-fx-border-color: black; -fx-border-width: 1px; ");
      enableDragging(root);
      StackPane mainContainer = new StackPane();
        AnchorPane.setTopAnchor(mainContainer, 5.0);
        AnchorPane.setLeftAnchor(mainContainer, 5.0);
        AnchorPane.setRightAnchor(mainContainer, 5.0);
        AnchorPane.setBottomAnchor(mainContainer, 5.0);
      mainContainer.setStyle("-fx-background-color: aliceblue;");
      root.getChildren().add(mainContainer);
      primaryStage.initStyle(StageStyle.TRANSPARENT);
      final ChoiceBox<String> choiceBox = new ChoiceBox<>(FXCollections.observableArrayList("Item 1", "Item 2", "Item 3"));
      final Button closeButton = new Button("Close");
      VBox vbox = new VBox(10);
      vbox.setAlignment(Pos.CENTER);
      vbox.getChildren().addAll(choiceBox, closeButton);
      mainContainer.getChildren().add(vbox);
        closeButton.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            Platform.exit();
      primaryStage.setScene(new Scene(root,  300, 200, Color.TRANSPARENT));
      primaryStage.show();
      private void enableDragging(final Node n) {
       final ObjectProperty<Point2D> mouseAnchor = new SimpleObjectProperty<>(null);
       n.addEventHandler(MouseEvent.MOUSE_PRESSED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(new Point2D(event.getX(), event.getY()));
       n.addEventHandler(MouseEvent.MOUSE_RELEASED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(null);
       n.addEventHandler(MouseEvent.MOUSE_DRAGGED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            Point2D anchor = mouseAnchor.get();
            Scene scene = n.getScene();
            Window window = null ;
            if (scene != null) {
              window = scene.getWindow();
            if (anchor != null && window != null) {
              double deltaX = event.getX()-anchor.getX();
              double deltaY = event.getY()-anchor.getY();
              window.setX(window.getX()+deltaX);
              window.setY(window.getY()+deltaY);
      public static void main(String[] args) {
      launch(args);

  • Running Os 9 in its own window

    How do i run Os 9 in its own window when running OS 10.3.9?
    Specifically i'm trying to run one of my favorite old school games. escape velocity. it only works in os9. my computer doesn't have a enough ram to run the game full screen with out having glitches. i think if i run it in a smaller window it will work but i cant figure that out. its not in the os9 prefs on my computer.
    question 2.
    Is it possible to restart my g4 in os9 with out having os10 running? thanks
    G4   Mac OS X (10.3.9)  

    Hi, homeboy.
    How do i run Os 9 in its own window when running OS 10.3.9
    You don't. You run OS 9-based applications in their own windows, and use their preferences to exercise whatever control they offer, which (depending on the application) may or may not allow you to accomplish what you want to accomplish. All hardware and hardware parameters are controlled by OS X whenever it is running, so OS 9 operating as Classic has no ability to create a lower-resolution "virtual machine" window inside OS X. In this respect Classic mode is very diffferent from, say, using Virtual PC to run Windoze on a Mac.
    Booting your Mac in OS 9, if possible, is the solution to your problem. If the machine isn't OS 9-bootable, you're stuck.

  • How to open an swf in its own window outside flash using button

    how do I open an swf in its own window outside the flash using button?

    Hi,
    Try this code:
    import mx.containers.Window;
    var my_button:mx.controls.Button;
    var buttonListener:Object = new Object();
    buttonListener.click = function(evt_obj:Object) {
    var my_win:MovieClip = mx.managers.PopUpManager.createPopUp(evt_obj.target, Window, true, {title:"Sample Image", contentPath:"uganda_animation_Scene 1.swf"});
    my_win.setSize(320, 240);
    my_button.addEventListener("click", buttonListener);
    You must drag the window default component and place in to the library.
    Saransoft

  • Mail may open but show no message viewer window Mac OS X v10.9.5

    Mail may open but show no message viewer window

    Please log out or restart the computer and try again.

  • HP Simple Pass appears to have created its own Windows Log on Password

    HP Pavillion M6 1035 Lap Top
    Windows 7 64-bit
    Hi, I recently bough this computer and reluctantly (cause I knew it would cause a problem) agreed to let HP Simple Pass help me manage my passwords about a month into ownership.
    When I originally set up my computer I did not create any passwords for the log on (no need for me to).  If prompted I just clicked enter.  As far as I remember, before I set up HP Simple Pass, I was not prompted to log on at start up or I just clicked enter and- it loaded straight to my desk top.  I certainly never had to type anything. 
    After using Simple Pass, I am prompted at log on for a password, or to swipe a finger. I've been using the finger swipe just fine but today decided it was a pain and I just want it back the way it was.  That is when I discovered that Windows thinks I have a Log on password.  I have tried any and all passwords I know, including all the ones I entered into Simple Pass. I have tried just hitting enter, "password", you name it and it won't let me on.  I can still gain access with the finger swipe but in the settings for the software it does not show any information about Windows Log On.  (You can for example view other account passwords, just nothing about Windows Log On). 
    I tried accessing it through my device manager and I found where I can disable this, but alas, I need the Windows logon password that Simple Pass [evidently] assigned.
    Can someone please suggest what is going on?  I am sure this will lead to a problem in the future and I am so sick of trying to fix broken computers (hence why I bought a new one).  
    Thank you in advance

    I have only seen this a couple of times and I don't have the answer...
    I do not know how you managed to set up SimplePass without a typed in Windows password.  OK, having said that:  if you have done it, then it's done.
    I would suggest that you get yourself over to AuthenTec, sign up for their forum, and ask this question in the context of the SimplePass (maybe omitting the dislike of the product since it is, after all, their means of being in business).
    Why do this?  Because I don't think it should have happened.  From the few entries I have seen on the AuthenTec forum, Miroslav Buran (at AuthenTec) is knowlegable in his field and may be able to help you straighten this out before it causes problems.
    Be sure to explain that you are using HP SimplePass and let them know the exact version of the SmplePass Software to get the best help.  Tell them your Operating System / bit, too.
    When SimplePass IS used in conjunction with a Windows password (as intended), it works very well as a rule.
    I am sorry your introduction to the tool was rocky and your experience has been less than stellar.
    I would be very interested in hearing how this is resolved.  If I find anything helpful, I will post back to you here.
    Kind Regards,
    Dragon-Fur

  • How do I open a folder in its own window?

    All of a sudden my folders will not open in their own windows... Has anyone have this happen? Earlier I was fine then all of a sudden it stopped.

    Cevsinc,
    I don't know if this is what your looking for but here you go.
    To make it so that when you double click a folder it opens in a new window you have to turn off or hide the toolbar. To do so:
    Open a Finder window > Select "View" from the menubar > select "Hide Toolbar"
    Keyboard shortcut to do the same as above is ( Command ) (  Option ) ( T )
    Now every folder you double click on will open in a new window.
    It should remember that you elected to not have the Toolbar show and every time you open a new window it will be the same.
    To change back Do the same except instead of "Hide Toolbar" it will say "Show Toolbar"
    Hope that helps,
    Weston

  • Data loaded at YTD, but showing Periodic in HFM until re-Export, then YTD

    We are using FDM 11.1.2.1 (FM11X-G5-E Target adapter) to load YTD data to HFM 11.1.2.1. The "View" dimension in FDM is set to YTD and we don't have any other custom event or calculation scripting happening. Also confirmed the source file values are YTD, as well as the value in Export grid in FDM and the .dat files in the Outbox.
    When we then view the data in an HFM grid or SmartView, many times it displays as Periodic even though the View is set to YTD. We've double checked many HFM settings (UsePVAForFlowAccounts=Y, ZeroViewForNonadj = YTD, ZeroViewForAdj = YTD, ConsolidateYTD = Y, DefFreqForICTrans = Y), and ensured we are consolidating with View = YTD. I can even drill through to FDM on the Periodic value and see the correct YTD value for that POV in FDM.
    Now the strange part: If we then simply re-run Export in FDM, and refresh the grid/SmartView for the same POV, the balance is now showing the correct YTD value. It's seems to show up randomly for different data sources, at different times, and this fix always works. It's almost as if the Periodic value or setting is "stuck", and then gets fixed after another Export from FDM.
    However, the client's long term future process cannot be "re-Export each monthly load twice". Not sure if anyone has encountered this and if it's a result of FDM, HFM, backend DB, patching, metadata, etc. Any help or thoughts would be appreciated. Thanks.

    Yes, I know [YEAR]. I meant, I have never noticed data entry allowed on [YEAR].
    Is the accounts properly intersected with custom dimensions? i.e the Account property of TopCustom1Member,TopCustom2Member...etc. If that is not set then, accounts will not have valid intersection with Customs and you can not enter data.
    Secondly., What is the default frequency for the scenario you are selecting? MTD? Are you looking at a month in Period (Jan/Feb etc) or at Q1/Q2 level?

  • Unwanted source code appears in browser but not in Dreamweaver Code Window

    I am using templates and css, and Dreamweaver to build a new website of about 20 pages. With the first several pages, everything was working well. Then as I continued to add pages, I started to notice some code appearing at the bottom of web pages (under the footer), and then, a page duplicating the footer, and then, the drop-down function on the index page not working (pulls down and pops right back up) while headers on other pages work fine. I viewed the source code in the browsers (IE and Firefox) and I see the extra code at the bottom. However, this code doesn't show up in Dreamweaver, or, when I open the files in Notepad.
    Following is an example of the different bottom-most lines of code in the Firefox browser compared to what I see in Dreamweaver or Notepad (note the highlighted line that is not showing up in Notepad or Dreamweaver).
    Firefox Browser:
    </div>
          </div>
          <div class="clear"></div>
        </div>
      </div>
    </div>
    <!-- InstanceEndEditable --><script src="http://brandbar.oit.duke.edu/footer/videos_podcasts_full.php" type="text/javascript"></script>
    <script type="text/javascript"  src="http://brandbar.oit.duke.edu/header/js/jquery.min.js"></script>
    <script type="text/javascript" src="http://brandbar.oit.duke.edu/header/js/globalHeader.js"></script> 
    <script type="text/javascript"  src="http://brandbar.oit.duke.edu/footer/js/footer.js"></script>
    </body>
    <!-- InstanceEnd --></html>ript> 
    <script type="text/javascript"  src="http://brandbar.oit.duke.edu/footer/js/footer.js"></script>
    </body>
    <!-- InstanceEnd --></html>
    Notepad or Dreamweaver code screen:
    </div>
          </div>
          <div class="clear"></div>
        </div>
      </div>
    </div>
    <!-- InstanceEndEditable --><script src="http://brandbar.oit.duke.edu/footer/videos_podcasts_full.php" type="text/javascript"></script>
    <script type="text/javascript"  src="http://brandbar.oit.duke.edu/header/js/jquery.min.js"></script>
    <script type="text/javascript" src="http://brandbar.oit.duke.edu/header/js/globalHeader.js"></script> 
    <script type="text/javascript"  src="http://brandbar.oit.duke.edu/footer/js/footer.js"></script>
    </body>
    <!-- InstanceEnd --></html>

    this answer is a bit late, but i think i have figured this problem out and it is probably still bugging someone out there.
    i was having the same issues through many dreamweaver upgrades and kept running into the same problem (only on my Mac though - PC never gave me trouble). anyway, my hard drive recently died and i had a brand new one installed and then i installed a fresh version of CS5. started building a page and ran into the same problem. now that this is happening on a new drive with a fresh OS and reinstalled software, i needed to look elsewhere.
    the problem is so simple you will more than likely cry at the amount of time you have wasted on it. more than likely if this is happening to you, you are working off of a network drive or a server. all my files are stored on a server locally, so when i make a change it is saving to the server. either a bad or slow connection to the server and/or a server going bad will cause this issue.
    take the same file that you are having problems with and save down to your desktop - then preview in a browser. so the solution is to build the entire site on your local drive and then FTP up to the live site when complete.
    hope this helps.

  • Ipad was erased. Now apps won't reload from backup, but show in the app window. They do't sync even when drag and drop is used.

    The iPad was lost but returned. In the interim, I sent an "erase" command to the iPad. When I got it back , all info was erased when turned on. I used my backup and restored it, but the applications will not install. I have tried clicking "install". I subsequently tried the drag and drop method. Each time I "apply" the changes, It will sync, but nothing happens as far as applications being installed.
    thanks.

    Having the same issue.  I got the iPad air and loaded apps from my phone but netflix didn't show up and won't open from the App Store

  • Running 3.6.23 on Ubuntu 10.10. worked fine on Nationwide's site last week. Now they have a new site and there are many problems. Can I make the browser tell their site its on windows not linux?

    changes since new site running All of which worked fine before:
    clicking back button now asks if I really want to leave the current page and logs me out.
    They report my browser is not supported.
    Times out even though I am actively using the site.
    When I try to send a secure message it wipes out what I am still typing and says it is not the right sort of thing to put in a message.

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • T410 RAM installed 4.00 GB but shows usable 3 GB - Windows 7 64 bit

    Hi Friends,
    I have Lenovo Thinkpad T410 with Windows 7 (64-bit).
    The RAM I have is 4 GB, but it shows usable as 3 GB only.
    As per my knowledge 64 bit shouldnt' have any limitation of 3GB max RAM.
    Could any one help me if I need to make any configuration cganges to maike 4GB usable.
    Even in BIOS I could not find any setting for this.
    Thanks in advance.
    Regards
    Vamshi

    The slots are not always together.  On newer machines like the T410 and my T420, there is one slot under the keyboard and one under that bottom access panel.
    Hardware Maintenance Manual
    This actually makes it easier to upgrade RAM in some cases. When a new machine is ordered with a single stick of RAM it will be under the keyboard, leaving the easily-accessible one on the bottom available for another RAM stick.
    My T420 has the factory 4G stick under the keyboard, and a 2nd Crucial stick on the bottom.  Works a treat.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Trying to reinstall PayPal app but showing installing in grey window

    Trying to reinstall PayPal app after deleting cos it wouldn't update. Now instead of green "install" window it shows grey "installing" window which you can,t click on. Help!

    They should be nearly identical - Internet recovery has a few less features and takes far longer to start up. I think you only get Internet recovery on certain macs and even then only if the recovery partition isn't working. Once in recovery mode you should be able to repair the hard drive and permissions using disk utility.
    Once you have repaired the disk you should be able to choose an install OS X option where it downloads a fresh copy space permitting and it tries to keep files in place.
    I think N during startup gets you network boot and D on gets you the hardware test. Shift during startup should try to safe boot if there is some sort of conflict keeping it from starting normally.

Maybe you are looking for

  • Message Mapping : Set Field Name at Runtime

    Hi All, Source structure of my message is : <recordset> <Query></Query>---- 0 to unbounded </recordset> Target Structure : <SQL> <key></key>---- 0 to unbounded </SQL> Now my requirement is such that....if the source message has 3 Query elements then

  • Including a resource file in java

    hello all, I am new to java and the question I m asking may be quite basic. I have developed an application which is using a .jpg image file. In the code I m accessing the image by only specifying the name of the file (LoadFile("image.jpg")); instead

  • Keep getting a failure to deliver text messages

    I keep getting a failure to deliver message after I have sent text.  I have not updated to the 7.1 as I don't have enough storage

  • Stock against investment internal order - reg

    Hello, Our client wants to use  investment internal order functionality (AUC---> FIXED ASSET).  I have few queries regarding this functionality: a) Can we  keep a stock of the material we are going to procure for capitalization. b) how we could maint

  • How to update Billing Plan using BAPI_SALESORDER_CHANGE

    Hi, In my case initailly sales order header data is created and saved, with reference to SO Project is created and then item level data is updated. So clients requirement is to create any upload programme which can use for mass upload. i.e to develop