Opening a frame inside IE applet (window)

I have an applet whih creates an instance of a frame .. the frame opens up in a separate IE window .. is there a way for the frame to overlay the applet window or is the nature of the frame always going to force a new window to open .. thanks to all who reply in advance

If you want the frame to overlap the applet, don't use a frame but a panel.
Kind regards,
  Levi

Similar Messages

  • Opening a frame from an applet

    Hi,
    I want to open a frame in my applet. If I'm using swing, JApplet opening a JFrame, is it possible to keep the frame open if the user browses away from the page that holds the applet?
    Are there any tricks? I've tried opening it in a new Thread, but it still goes away when the the browser's page changes.
    Could I call getParent() from the applet until I get an instance of Frame (which would be the browser) and set my JFrames' parent? Or does that only work with the old Netscape and old AWT Frames?
    I basically want to know if I can keep my JFrame open until the browser is closed. Any ideas or suggestions would be greatly appreciated.
    thank you very much

    Do you want to open a jsp application in a frame when you click on the applet?If so, there is a programme in http://www.globalleafs.com -Java-Java Applets 's download section. Check it out.

  • How do I open a frame in a new window or tab?

    I want to be able to open frames into their own tabs or window... So how do you do this, or is Firefox NOT CAPABLE of this... i.e. it's LAME and should be shot? (=:]
    How do I open a frame in a new window or tab?
    ========================
    Basically... I right click, and a context menu pops up... and there is no option for what I want to do... basically because the frame is so small, and the frame table for this particular site is set to fixed... so you can't resize them... so it's almost impossible to read. If only I could easily click and open in a new window or tab...
    I mean... yeah, I can VIEW SOURCE by hand, manually, and find grope the freaking HTML until I find the desired frame URL... but Uhh... likee that's really inefficient, and a waste of time and frankly gives me a headache...
    There's got to be an easy way to do this... either with a setting, which I fail to know about, or by a plugin or extension... or by tweaking the source code... but I'm not a programmer, so I'm handicapped there.

    If you right-click and don't see a context menu item that says '''This Frame''', that page isn't made with Frames; I-frames aren't "Frames". Unless you have an extension installed that is messing up your context menus ....
    http://support.mozilla.com/en-US/kb/Safe+Mode

  • [NEWBIE] How to open a frame from an Applet?

    Hi, I'm trying to open a JFrame from an Applet. Basically, I would like that, once the user selects an option from a JMenu, a Frame would be shown with a text box where user could type some content.
    I built both the Applet and the Frame, and singularly they work. When I execute the main method from the JFrame, the window appears, but when I execute something like the following from the applet:
    MyFrame mf = new MyFrame();
    mf.setVisible(true);nothing is shown. I'm sure that I don't know something, but I just started with applets.
    Thanks for any help,
    Marco

    If MyFrame is a subclass of JFrame, then it should not
    make any difference.
    What do you need the JFrame for? Can this be done
    using another "screen" by using a CardLayout?From a menu, when the user selects 'Start game' I need a text box coming out so that the user can insert a word. This word should then evaluate an instance member of the Applet.
    Marco

  • Need to play video inside forms applet window

    Hi,
    I need to call a video inside oracle forms (10g), This can be acheived through Client_host() or by web.show_document. But the problem is that both methods opens the video in new browser window. Where as my target is to play the video inside specific frame of forms. I hope this is possible through java beans. Can anybody suggest a solution for this?
    Regards,
    Naveed

    Hello,
    <p>Here is one Java Bean</p>
    It needs the Sun Java plug-in, so it won't work with the JInitiator.
    Francois

  • Besides being unable to view some images on some pages, some windows open too wide inside the current window. If I start up in safe mode, everything works OK. But if I disable all extensions and add-ons, I still have the problem.

    Too long

    This had no affect on my problem. Sorry, but no help at all. I can enter safe mode with nothing checked in the dialog and the problems go away. Any further ideas?

  • Handling multiple applets inside applet window

    Hi all,
    Does anyone know of a tutorial for handling multiple applets inside an applet window ?? Any suggestions would be greatly appreciated.
    Regards,

    Hello vhhuynh,
    Did you ever get a solution to your question: 'tutorial for handling multiple applets inside an applet window'?
    I have the same situation...
    thanks, msp@duke

  • Opening SWF Files in the Application window

    Hello Everyone,
    We have a problem in opening .swf files in our application.
    We had quick time movies(.mov) which we used to open and
    play inside the application window, using QuickTime Framework APIs
    in the code.
    Presently we had converted these quicktime movies(.mov) into
    .swf files and we are unable to open the same using Quick Time
    Framework in MacOSX.
    Can you please suggest me as how should I proceed, i.e which
    framework should I use in the code to open and play .swf files in
    the application window?
    It will be better, if you can send me a small sample code to
    use in my application for MacOSX.
    Awaiting for your kind reply,
    Thanking you,
    With Best regards,
    Anil.

    Hi Vaibhav,
    I need to display the serarch results in the same window.
    I have followed the steps mentioned by you in the thread
    <i> Search Results in the Same Window..as we have in SDN</i>
    Even after making changes to 2 PAR files mentioned in the above thread, on click
    of Search button nothing happens.
    It will be great if you can send me your modified PAR files, to identify where i am
    going wrong. My mail id is [email protected]
    Thanking you,
    Vikas

  • Security manager & mention "Java Applet Window"

    A simple program that displays a frame with one button in it.
    The frame displays, no problem.
    When a security manager is added "System.setSecurityManager(new SecurityManager());"
    and the program is run again a "status bar" is added at the bottom of the frame
    mentioning "Java Applet Window".
    Why is that, and can it be suppressed ? (I am working in JDK 1.4)
    Any tip greatly appreciated

    I was dealing with this myself and just discovered that the adding the following line to my security policy removed the message:
    permission java.awt.AWTPermission "showWindowWithoutWarningBanner";

  • Opening an applet window from a button in a frame.

    hi,
    i designed a frame,in that i took coordinates from the user in the Jtextfields and a button.i need that when user clicks that button,a new applet window should get opened and the line should be drawn(g.drawLine in the paint method) according to the coordinates passed.
    please help me.

    Yes, It works on firefox. It is only an issue with Internet Explorer.
    However our web based application has to use IE and therefore when it calls apex it is in an IE browser.
    I am really just producing a csv file, and opening it in excel. If this was fixed (or customisable in some way in IE that would help)

  • Opening and closing a frame from an applet security problem

    can I open a frame or a window from an applet and close the frame by using
    System.exit(0) for the frame or will it throw a security problem.

    I am using system.exit(0) to exit the JVM.
    dispose()
    Releases all of the native screen resources used by this Window, its subcomponents, and all of its owned children. That is, the resources for these Components will be destroyed, any memory they consume will be returned to the OS, and they will be marked as undisplayable.
    If this frame have to be close and open again don't use dispose.
    there is no check whether a frame is active? what you can do is set the the new frame to null (frame = null) and also when you dispose it, this will let you know if the frame is active or not.
    Noah

  • Help! How to Open a Frame from applet with

    Hey all. I need help =).
    I want:
    1. Have 1 class extends applet with running thread (this far no prob)
    2. Open a new frame from the applet (no prob)
    3. Start a new thread which is operating "inside" the new Frame/class
    4. Draw a simple Rect in the new Frame with the new thread to test that the graphics work.
    Plz help,
    ~Trobsky

    �rr..... i cant draw on the Frame =(.
    Heres the code:

    public class Fonster extends java.applet.Applet {
         Frame myFrame;
         Fri friFonster=new Fri();
         public void init() {
              myFrame=new Frame();
              myFrame.resize(300,300);
              myFrame.show();
              myFrame.add(friFonster);
              friFonster.init();
              friFonster.start();
         public void paint(Graphics g)
              g.drawRect(10,10,100,100);
    public class Fri extends java.applet.Applet {
         public void init(){
              repaint();
         public void paint(Graphics g)
              g.drawRect(10,10,200,200);

  • "Java Applet Window" and keeping PopupMenu inside Applet

    I just added a JPopupMenu to my Applet, and I want to remove the "Java Applet Window" at the bottom. I know this can be done by making sure the PopupMenu stays inside the Applet area. How can I make it stay inside the Applet area?

    Hi Duncan,
    thank you for your answer (on Forms Forum, too :-)
    In the init function I do
    public void init(IHandler handler)
    mHandler = handler;
    super.init(handler);
    // getting the Forms Main class
    formsMain = (Main) mHandler.getApplet();
    // Accessor to the external frame
    formsTopFrame = formsMain.getFrame();
    The constructor does
    optionPane = new JOptionPane( "some text", JOptionPane.INFORMATION_MESSAGE);
    and before the showMessageDialog I put
    formsTopFrame.add(optionPane);
    but with no effect.
    Do you have some more hints?
    Regards,
    Werner

  • 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

  • Maximizing a frame or applet window

    When you set the size of an applet using the setSize(int, int) method in a frame window or specify the width and height in an applet's tag or comment in the source code, the applet or application window is always in the "Restored" state (meaning it can be resized). However, how can I maximize the window to make it automatically fill the screen? Similarly, what if I want to minimize the window? And furthermore, if the user maximizes or minimizes the window and in the source code I try to resize it, will I get a runtime error or will it change the window to the restored state?

    // <applet code=mark width=400 height=300></applet>
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class mark extends JApplet implements ActionListener {
      JButton smallerButton, largerButton;
      static JFrame frame;
      static boolean isApplet = true;
      public void init() {
        smallerButton = new JButton("Size Smaller");
        smallerButton.addActionListener(this);
        largerButton = new JButton("Resize Larger");
        largerButton.addActionListener(this);
        JPanel buttonPanel = new JPanel();
        buttonPanel.add(smallerButton);
        buttonPanel.add(largerButton);
        JPanel centerPanel = new JPanel();
        centerPanel.setBackground(Color.red);
        Container cp = getContentPane();
        cp.setLayout(new BorderLayout());
        cp.add(buttonPanel, "North");
        cp.add(centerPanel, "Center");
      public void actionPerformed(ActionEvent e) {
        JButton button = (JButton)e.getSource();
        if(isApplet) {
          Frame awtFrame = null;
          Component c = getParent();
          while(c != null) {
            c = c.getParent();
            if(c instanceof Frame) {
              awtFrame = (Frame)c;
              break;
          if(button == smallerButton)
            awtFrame.setExtendedState(Frame.NORMAL);
          if(button == largerButton)
            awtFrame.setExtendedState(Frame.MAXIMIZED_BOTH);
        else {
          if(button == smallerButton)
            frame.setExtendedState(Frame.NORMAL);
          if(button == largerButton)
            frame.setExtendedState(Frame.MAXIMIZED_BOTH);
      public static void main(String[] args) {
        isApplet = false;
        frame = new JFrame("Main Frame");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JApplet applet = new mark();
        frame.getContentPane().add(applet);
        frame.setSize(400,300);
        frame.setLocation(300,200);
        applet.init();
        applet.start();
        frame.setVisible(true);
    }

Maybe you are looking for