How to make awt window without owner

The java.awt.Window(owner) requires owner but I want it to be top level without any other owner, how to do it
.:moby:.

Sorry.
You have to open up a frame, what use would be a top level window in a GUI that can't me minimized, moved or closed? Why do you want it to stand alone?

Similar Messages

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

  • Hyperlink on Crystal Report: how to popup a window without menubar?

    Hyperlink on Crystal Report: how to popup a window without menubar?
    Hello Experts!
    I'm using VS2003 with Crystal Reports for VS2003.
    I need to show a popup window clicking a hyperlink text object on my crystal report.
    On the CrystalReportViewer I have set up HyperlinkTarget=_blank, and it's working fine.
    But when I click on the hyperlink and shows the popup window, how can I show the popup window without menubar, toolbar, directories, etc.
    Something like:
    window.open('../MyPage.html?id=id001" + Cad + "',null,'menubar=no,scrollbars=yes,toolbar=no,location=no,directories=no,resizable=yes,status=yes')

    Adam is correct. The closest you can get is setting the CrystalReportViewers HyperlinkTarget to _blank. It was seen as a potential security vulnerability to allow you to run scripts from a Crystal Reports. In our Enterprise product you can use a reg key called EncodeHTMLForSingleLineFieldObjects to control whether this can be turned on or off.
    Unfortunately this was never ported over to our .NET CrystalReportViewer.
    This is referenced in notes 1202803, 1219298, and 1219301.
    https://www.sdn.sap.com/irj/sdn/businessobjects-notes
    Edited by: David Hilton on Jul 16, 2008 4:17 PM

  • How to make a redirect without auto-redirect from the portlet "edit" mode?

    How to make a redirect without auto-redirect from the portlet "edit" mode?
    I use some sofisticated customizing with server-side validation of the form data. I want to redirect to the page of the portlet "show" mode and to the "edit" mode depending on the validation results. How can I do it?

    Heay.....this worked for me.
    I am able to change the mode programatically from edit to show.
    HttpPortletRendererUtil.handleEditAction(portletRenderRequest,"OK");
    I removed Apply , OK and Cancel buttons and applied my own Submit and Back button in Personalize mode and then change the mode to show on click of Back button using the above mentioned statement.
    Thanks
    ~Neeraj Sidhaye
    Try_Catch_Finally @ Y !
    ExtremePortal @ Gmail Dot Com

  • How to make things fly without a greenscreen in Motion 5

    How to make things fly without a greenscreen in Motion 5

    green-screen = color-key is just one method to 'punch out' the wanted parts of a pic from the unwanted.
    other methods:
    • luma-key: object is in front of a plain black (or white) background ...
    • alpha-key: 'object' is a computer-generated image, rendered with an alpha-key
    • rotoscoping: you mask the the object by hand from the unwanted parts.
    ...and 'fly' is just key-framing the scenery so it looks like the object is hovering over all .........
    very unspecific question, hm?

  • Already i download driver for install the windows, i can get the drivers but i can't install windows, how i can install windows without downloads driver again

    already i download driver for install the windows, i can get the drivers but i can't install windows, how i can install windows without download driver again

    This seems to be a commercial product. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
    You can find the Commercial Laserjet board here:
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How to make dos window scrollable under win98?

    Hi, I am using win98, every time when I run my GUI application, whenever I got bunch of error message that can not be displayed in one window, I will miss the original error information. Can anyone tell me how to make my dos window scrollable so that I can view all error message.
    Thanks a lot.

    I don't think that you can do this. There is another way, however: When java throws an exception, if it is not caught in your program, it is sent to the standard error, which is the console. You can simply reset this to be a file, so you can read this to get all the error info. Try using the following code in your main method:
      public static void main(String[] arg) {
        try {
          System.setErr(new PrintStream(new FileOutputStream(new File("Errors"))));
          //instantiate your main class here
          MyClass mc=new MyClass(); //or whatever
        } catch (Exception _ex) {     
          System.out.println("An error occurred"); //exception get sent to standard error automatically, so there
                                  //is no real need to catch this exception. However, I use it to display
                                  //a message on the console to let me know an error has occurred.
          System.err.println(_ex.getMessage()); //and finally, print the exception to file
          _ex.printStackTrace();
      }

  • How to make apple id without credit

    Can you help me , i have not credit card and want to make apple ID to download some apps.  how can i make apple id without any credit card

    See this... http://support.apple.com/kb/ht2534

  • How to close video window without closing iTunes?

    I usually watch video podcasts on iTunes rather than on my iPod. But when the video finishes, how do I close that window without closing iTunes?

    Oops. I just discovered the little white circle with the x in it, that appears in the upper right corner of the video window when the cursor is moved inside the window.

  • How to make awt modal dialog to NOT appear on top of existing windows

    Hi,
    I am working on a program that displays awt modal dialog box when it needs some action from the user. My problem is that the modal dialog box cann't be top window as there is one VC++ window that needs to be always top window. Another requirement I must satisfay is that there should not be any flickling. I've tried with setAlowaysOnTop(false), dialog.toBack(), transferFocus(), etc but with no avail. Any help will be greatly appreciated. Thank you in advance.

    Note: This thread was originally posted in the Swing forum, but moved to this forum for closer topic alignment.

  • How to make a backup without password

    I have tried to create new backups, but every time as they are with a lock on. have deleted itunes on pc n without help. bought a new computer without help. my problem is that I have two girls who have switched phones, the mobile phone that owned the first desired content into the new. Now that it has acquired the old iphone ready and ruin the iphone and I wish to make a backup of it on the new iphone her but each time the backup is locked with a code. there is none of them have made some code!!!!!! only code code they have had is a code to open the phone. we have gone in between all the codes they have used but there is no acting. I've talked with apple suport on several occasions and they say that it is only making a backup without code.
    So my question is how the **** do I do it?

    You will have to delete ALL of your existing backups. Under preferences in itunes(under the edit menu if using Windows), Devices, delet any and all backups that are listed. Connect your 3GS, right click in the device pane & select backup. You should be able to restore that backup to your iphone 4.

  • How to make a Window object Transparent

    hi all,
    how can i make an object of Window Class transparent.
    please help me out friends.

    This is a transparent window with an orange in it:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.peer.*;
    public class Tw extends JWindow implements FocusListener, MouseMotionListener, MouseListener
         Image     img,tim;
         Graphics  tig;
         Point     mp;
         Robot     r;
    public Tw()
         setBounds(170,170,100,100);
         try
              r = new Robot();
         catch(AWTException awe)
              System.out.println("robot excepton occurred");
         capture();
         addMouseMotionListener(this);
         addMouseListener(this);
         addFocusListener(this);
         setVisible(true);
    public void mouseDragged(MouseEvent m)
         if (mp == null) return;
         Point p = m.getPoint();
         int x = getX()+p.x-mp.x;
         int y = getY()+p.y-mp.y;
         setLocation(x,y);
         paintP(getGraphics());
    public void mouseMoved(MouseEvent m)
    public void mouseClicked(MouseEvent m){}
    public void mouseEntered(MouseEvent m){}
    public void mouseExited(MouseEvent m) {}
    public void mouseReleased(MouseEvent m)
         mp = null;
    public void mousePressed(MouseEvent m)
         mp = m.getPoint();
    public void focusGained(FocusEvent fe)
         setSize(0,0);
         capture();
         setSize(100,100);
    public void focusLost(FocusEvent fe)
    public void capture()
         Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
         img = r.createScreenCapture(new Rectangle(0,0,d.width,d.height));
    public void captureX()
         Rectangle rect = getBounds();
         setVisible(false);
         Thread.yield();
         Image xmg = r.createScreenCapture(rect);
         img.getGraphics().drawImage(xmg,rect.x,rect.y,rect.width,rect.height,null);     
         setLocation(rect.x,rect.y);
         setVisible(true);
    public void paint(Graphics g)
         Rectangle rect = g.getClipBounds();
         if (tim == null)
              tim = createImage(getWidth(),getHeight());
              tig = tim.getGraphics();
         if (!rect.getSize().equals(getSize())) captureX();
              else                               paintP(g);
    public void paintP(Graphics g)
        tig.drawImage(img,0,0,getWidth(),getHeight(),
                           getX(),getY(),getX()+getWidth(),getY()+getHeight(),null);
         tig.setColor(Color.orange);
         tig.fillOval(10,20,70,80);
         tig.setColor(Color.green);
         tig.fillOval(21,16,20,10);
         tig.fillOval(40,02,11,21);
         g.drawImage(tim,0,0,null);
    public void update(Graphics g)
         this.paint(g);
    public static void main (String[] args) 
         new Tw();
    }Noah

  • How to make download window open to front

    When I download a file, how can I make the download window automatically come to the front?

    THANK YOU! I don't know which idiot thought of removing the downloads window in favor of that ridiculous menu but I've been tearing my hair out trying to fix it. The old window has everything you need in one easy window while the menu requires multiple steps to check EACH download. I was ready to drop release 20 and go back to 19.

  • How to make JFrame window un-resizable?

    I create a window using JFrame. I don't want user to re-size the window. How can I do that? Thanks!

    JFrame f = new JFrame();
    f.setResizable(false);
    Jframe entends frame
    setResizable() is a method in frame
    http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Frame.html#setResizable(boolean)

  • How to make New Windows open where I want!

    Every time I launch Safari, it opens the window on the left side of the screen. How to do get it to open on the right side? I'm sure there is a keystroke combination to reset the default position or AppleScript, but I can't find one. Any help would be greatly appreciated.
    Thanks in advance!

    I had the same problem way back. I finally gave up and now use the following applescript. Change the pixel coordinates of the top left and bottom right of the window, that appear in parentheses, to fit size of your screen. Mine is set for my 2x" early Cinema display.
    javascript:self.moveTo(190,0);self.resizeTo(1150,995)
    Make a bookmark put this script into the URL area of the bookmark (right side) and rename it to something like "my window size" and then put it in your bookmark bar folder. Then just click on it in the bookmark bar and window will move and resize to whatever you have entered in the parentheses.
    Fair winds and happy bytes, Dave Flory

Maybe you are looking for