Window Resizing event

Is there any way to detect a window resizing event? When I grad the corner of a JFrame, I'd like to be able to tell that it is being resized. If anyone konw a way of doing this, please let me know.
Alan

You could have your window implement the ComponentListener interface. There is a method that gets called when the component's size changes.
-S-

Similar Messages

  • Node Container that does not resize with Window Resize Event

    Hello,
    I'm not new to Java but I am new to JavaFX.
    I plan to have a container/Canvas with multiple shapes (Lines, Text, Rectangle etc) in it. This Container can be X times in the Szene with different Text Shapes. I need to Zoom and Pan (maybe rotation) the whole Szene and the Containers/Canvas.
    So I was playing around with that but I have two issues.
    1) all Canvas classes that I found (like Pane for example) do resize with the main window resize event. The content of the canvas isn't centered any more.
    2) I added a couple of Rectangles to the canvas and both the rectangles and the canvas have a mouse listener which will rotate the item/canvas. Problem is, that even if I click the rectangle also the underlaying canvas is rotated...I think I need some kind of Z-Info to find out what was clicked.
    Here is the little example program, it makes no produktiv sense but it demonstrates my problem.
    Does anybody has a tip what canvas class would fit and does not resize with the main window and how to figure out what was clicked?
    public class Test extends Application
         Scene mainScene;
         Group root;
         public static void main(String[] args)
            launch(args);
        @Override
        public void init()
            root = new Group();
            int x = 0;
            int y = -100;
            for(int i = 0; i < 5; i++)
                 x = 0;
                 y = y + 100;
                 for (int j = 0; j < 5; j++)
                      final Rectangle rect = new Rectangle(x, y, 30 , 30);
                       final RotateTransition rotateTransition = RotateTransitionBuilder.create()
                             .node(rect)
                             .duration(Duration.seconds(4))
                             .fromAngle(0)
                             .toAngle(720)
                             .cycleCount(Timeline.INDEFINITE)
                             .autoReverse(true)
                             .build();
                     rect.setOnMouseClicked(new EventHandler<MouseEvent>()
                          public void handle(MouseEvent me)
                               if(rotateTransition.getStatus().equals(Animation.Status.RUNNING))
                                    rotateTransition.setToAngle(0);
                                    rotateTransition.stop();
                                    rect.setFill(Color.BLACK);
                                    rect.setScaleX(1.0);
                                    rect.setScaleY(1.0);
                               else
                                    rect.setFill(Color.AQUAMARINE);
                                    rect.setScaleX(2.0);
                                    rect.setScaleY(2.0);
                                    rotateTransition.play();
                      root.getChildren().add(rect);
                      x = x + 100;
        public void start(Stage primaryStage)
             final Pane pane = new Pane();
             pane.setStyle("-fx-background-color: #CCFF99");
             pane.setOnScroll(new EventHandler<ScrollEvent>()
                   @Override
                   public void handle(ScrollEvent se)
                        if(se.getDeltaY() > 0)
                             pane.setScaleX(pane.getScaleX() + 0.01);
                             pane.setScaleY(pane.getScaleY() + 0.01);
                        else
                             pane.setScaleX(pane.getScaleX() - 0.01);
                             pane.setScaleY(pane.getScaleY() - 0.01);
             pane.getChildren().addAll(root);
             pane.setOnMouseClicked(new EventHandler<MouseEvent>(){
                   @Override
                   public void handle(MouseEvent event)
                        System.out.println(event.getButton());
                        if(event.getButton().equals(MouseButton.PRIMARY))
                             System.out.println("primary button");
                             final RotateTransition rotateTransition2 = RotateTransitionBuilder.create()
                                  .node(pane)
                                  .duration(Duration.seconds(10))
                                  .fromAngle(0)
                                  .toAngle(360)
                                  .cycleCount(Timeline.INDEFINITE)
                                  .autoReverse(false)
                                  .build();
                             rotateTransition2.play();
             mainScene = new Scene(pane, 400, 400);
             primaryStage.setScene(mainScene);
            primaryStage.show();
    }Edited by: 953596 on 19.08.2012 12:03

    To answer my own Question, it depends how you add childs.
    It seems that the "master Container", the one added to the Scene will allways resize with the window. To avoid that you can add a container to the "master Container" and tell it to be
    pane.setPrefSize(<child>.getWidth(), <child>.getHeight());
    pane.setMaxSize(<child>.getWidth(), <child>.getHeight());
    root.getChildren().add(pane);and it will stay the size even if the window is resized.
    Here is the modified code. Zooming and panning is working, zomming to window size is not right now. I'll work on that.
    import javafx.animation.Animation;
    import javafx.animation.ParallelTransition;
    import javafx.animation.ParallelTransitionBuilder;
    import javafx.animation.RotateTransition;
    import javafx.animation.RotateTransitionBuilder;
    import javafx.animation.ScaleTransitionBuilder;
    import javafx.animation.Timeline;
    import javafx.animation.TranslateTransitionBuilder;
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.geometry.Point2D;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.input.MouseButton;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.input.ScrollEvent;
    import javafx.scene.layout.Pane;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    public class Test extends Application
         Stage primStage;
        Scene mainScene;
         Group root;
         Pane masterPane;
         Point2D dragAnchor;
         double initX;
        double initY;
         public static void main(String[] args)
            launch(args);
        @Override
        public void init()
            root = new Group();
            final Pane pane = new Pane();
            pane.setStyle("-fx-background-color: #CCFF99");
            pane.setOnScroll(new EventHandler<ScrollEvent>()
                @Override
                public void handle(ScrollEvent se)
                    if(se.getDeltaY() > 0)
                        pane.setScaleX(pane.getScaleX() + pane.getScaleX()/15);
                        pane.setScaleY(pane.getScaleY() + pane.getScaleY()/15);
                        System.out.println(pane.getScaleX() + " " + pane.getScaleY());
                    else
                        pane.setScaleX(pane.getScaleX() - pane.getScaleX()/15);
                        pane.setScaleY(pane.getScaleY() - pane.getScaleY()/15);
                        System.out.println(pane.getScaleX() + " " + pane.getScaleY());
            pane.setOnMousePressed(new EventHandler<MouseEvent>()
                public void handle(MouseEvent me)
                    initX = pane.getTranslateX();
                    initY = pane.getTranslateY();
                    dragAnchor = new Point2D(me.getSceneX(), me.getSceneY());
            pane.setOnMouseDragged(new EventHandler<MouseEvent>()
                public void handle(MouseEvent me) {
                    double dragX = me.getSceneX() - dragAnchor.getX();
                    double dragY = me.getSceneY() - dragAnchor.getY();
                    //calculate new position of the pane
                    double newXPosition = initX + dragX;
                    double newYPosition = initY + dragY;
                    //if new position do not exceeds borders of the rectangle, translate to this position
                    pane.setTranslateX(newXPosition);
                    pane.setTranslateY(newYPosition);
            int x = 0;
            int y = -100;
            for(int i = 0; i < 5; i++)
                 x = 0;
                 y = y + 100;
                 for (int j = 0; j < 5; j++)
                      final Rectangle rect = new Rectangle(x, y, 30 , 30);
                       final RotateTransition rotateTransition = RotateTransitionBuilder.create()
                             .node(rect)
                             .duration(Duration.seconds(4))
                             .fromAngle(0)
                             .toAngle(720)
                             .cycleCount(Timeline.INDEFINITE)
                             .autoReverse(true)
                             .build();
                     rect.setOnMouseClicked(new EventHandler<MouseEvent>()
                          public void handle(MouseEvent me)
                               if(rotateTransition.getStatus().equals(Animation.Status.RUNNING))
                                    rotateTransition.setToAngle(0);
                                    rotateTransition.stop();
                                    rect.setFill(Color.BLACK);
                                    rect.setScaleX(1.0);
                                    rect.setScaleY(1.0);
                               else
                                    rect.setFill(Color.AQUAMARINE);
                                    rect.setScaleX(2.0);
                                    rect.setScaleY(2.0);
                                    rotateTransition.play();
                      pane.getChildren().add(rect);
                      x = x + 100;
            pane.autosize();
            pane.setPrefSize(pane.getWidth(), pane.getHeight());
            pane.setMaxSize(pane.getWidth(), pane.getHeight());
            root.getChildren().add(pane);
            masterPane = new Pane();
            masterPane.getChildren().add(root);
            masterPane.setStyle("-fx-background-color: #AABBCC");
            masterPane.setOnMousePressed(new EventHandler<MouseEvent>()
               public void handle(MouseEvent me)
                   System.out.println(me.getButton());
                   if((MouseButton.MIDDLE).equals(me.getButton()))
                       double screenWidth  = masterPane.getWidth();
                       double screenHeight = masterPane.getHeight();
                       System.out.println("screenWidth  " + screenWidth);
                       System.out.println("screenHeight " + screenHeight);
                       System.out.println(screenHeight);
                       double scaleXIs     = pane.getScaleX();
                       double scaleYIs     = pane.getScaleY();
                       double paneWidth    = pane.getWidth()  * scaleXIs;
                       double paneHeight   = pane.getHeight() * scaleYIs;
                       double screenCalc    = screenWidth > screenHeight ? screenHeight : screenWidth;
                       double scaleOperator = screenCalc  / paneWidth;
                       double moveToX       = (screenWidth/2)  - (paneWidth/2);
                       double moveToY       = (screenHeight/2) - (paneHeight/2);
                       System.out.println("movetoX :" + moveToX);
                       System.out.println("movetoY :" + moveToY);
                       //double scaleYTo = screenHeight / paneHeight;
                       ParallelTransition parallelTransition = ParallelTransitionBuilder.create()
                               .node(pane)
                               .children(
                                   TranslateTransitionBuilder.create()
                                       .duration(Duration.seconds(2))
                                       .toX(moveToX)
                                       .toY(moveToY)
                                       .build()
                                   ScaleTransitionBuilder.create()
                                       .duration(Duration.seconds(2))
                                       .toX(scaleOperator)
                                       .toY(scaleOperator)
                                       .build()
                      .build();
                       parallelTransition.play();
        public void start(Stage primaryStage)
             primStage = primaryStage;
            mainScene = new Scene(masterPane, 430, 430);
             primaryStage.setScene(mainScene);
            primaryStage.show();
    }

  • Browser window resize event

    Newbie question - sorry. How do I capture the browser window
    resize event?
    I've tried variations on this code:-
    <mx:Script>
    <![CDATA[
    import flash.events.Event;
    function mylisten():void { trace('mylisten');
    this.stage.addEventListener(Event.RESIZE,resizefn);
    function resizefn():void {
    trace('resize!');
    ]]>
    </mx:Script>

    Hi brutfood,
    you can add a handler to the resize event of the application
    as an attribute of the Application tag.
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" resize="resizeHandler()">
    Then add the handler ("t" is TextArea):
    private function resizeHandler():void {
    t.text = stage.width + " - " + stage.height;
    t.text += "\n" + stage.stageWidth + " - " +
    stage.stageHeight;
    Note the difference between the width/height and
    stageWidth/stageHeight properties: the first couple returns the
    actual stage dimension while the second returns the visible area of
    the stage.
    regards,
    Christophe

  • Resizing events, and blocking application

    Hi,
    While developing my application, that displays the state of processes, I observed something I can not duplicate that good. While debugging the app, I observed that when I manually resize the window size, my application could block (as in not response any more and stop running altogether). As said, I can not duplicate the problem. At the moment I can resize the window while it is updated, and the app keeps on running and stays responsive. But to solve this (potential) problem, should I add an event listener like WindowStateListener? Does this method catch window resizing events? And could I then add to my code something like
        public void windowStateChanged(WindowEvent e) {
            repaint();
        }Or, stated otherwise, to what event should I listen so a window resize event can be caught, and used to repaint the window?
    Abel

    I think that before resizing a windowActivated() event is generated... you could use this to set up your task before the window is resized. Of course, an activation doesn't mean resizing but perhaps it could help.
    Regards.

  • Handling resize event ...

    I have a class that extends Panel. I add some buttons
    (Min/Restore/Max/Close ... top right corner,etc) to the chrome
    using rawChildren.addChild. I'd like to restrict the window to
    never be allowed to get to a height less than the height of the
    buttons or a width less than the combined width of the buttons
    (this is a generalization, I've included logic to account for
    borders, etc). Nevertheless, I've tried countless approaches ...
    then I tried listening for a resize event ...
    //in constructor
    this.addEventListener("resize", myResizeHandler);
    //handler
    private function myResizeHandler(event:ResizeEvent):void{
    width = Math.max(someMinimumCalculatedWidth(), width);
    height = Math.max(someMinimumCalculatedHeight(), height);
    As shown ... within the event handler, I set width/height
    properties of the panel. In the case where they are different than
    current width/height, it expected it would trigger yet another
    resize event .... and I expected to get into some kind of nutty
    event loop (as you can see ... I'm in that ** I'll try anything
    ...** mode). Surprisingly ... it worked properly. There doesn't
    seem to be a resize event triggered when I set the width/height to
    values different than they were before entering the handler? I've
    perused the Panel/UIComponent source and everything I see leads me
    to believe another resize event would be triggered.
    So ... as strange as it sounds, I'd like to understand why
    this works :-) I can't bring myself to just move on without knowing
    why another resize event isn't dispatched and why I don't end right
    back up in myResizeHandler ...

    "AJC5327" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have a class that extends Panel. I add some buttons
    >(Min/Restore/Max/Close
    > ... top right corner,etc) to the chrome using
    rawChildren.addChild. I'd
    > like to
    > restrict the window to never be allowed to get to a
    height less than the
    > height
    > of the buttons or a width less than the combined width
    of the buttons
    > (this is
    > a generalization, I've included logic to account for
    borders, etc).
    > Nevertheless, I've tried countless approaches ... then I
    tried listening
    > for a
    > resize event ...
    >
    > //in constructor
    > this.addEventListener("resize", myResizeHandler);
    >
    > //handler
    > private function
    myResizeHandler(event:ResizeEvent):void{
    > width = Math.max(someMinimumCalculatedWidth(), width);
    > height = Math.max(someMinimumCalculatedHeight(),
    height);
    > }
    >
    > As shown ... within the event handler, I set
    width/height properties of
    > the
    > panel. In the case where they are different than current
    width/height, it
    > expected it would trigger yet another resize event ....
    and I expected to
    > get
    > into some kind of nutty event loop (as you can see ...
    I'm in that ** I'll
    > try
    > anything ...** mode). Surprisingly ... it worked
    properly. There doesn't
    > seem
    > to be a resize event triggered when I set the
    width/height to values
    > different
    > than they were before entering the handler? I've perused
    the
    > Panel/UIComponent
    > source and everything I see leads me to believe another
    resize event would
    > be
    > triggered.
    >
    > So ... as strange as it sounds, I'd like to understand
    why this works :-)
    > I
    > can't bring myself to just move on without knowing why
    another resize
    > event
    > isn't dispatched and why I don't end right back up in
    myResizeHandler ...
    A lot of times I find I have to go several classes up the
    inheritence chain
    to find where something lives. A shortcut to this is to find
    the public
    class extends statement and click whatever it extends. Press
    F3.
    HTH;
    Amy

  • Acces function window.resize

    Hi,
    I want to acces a function from an Event 'window.resize' on the stage, and the function that I need to access is in a clip called  'Graduation" in the CreationCompleted of this clip (please excuse my english)
    I tried without success that
    sym.$("Graduation").MadeGraduation();
    and
    sym.getComposition().getStage().getSymbol("Graduation").MadeGraduation();
    and
    sym.getComposition().getStage().$("Graduation").MadeGraduation();
    any idea ?
    thanks

    Hi,
    I understood that you want to « call » a function from creationComplete (one symbol) to window.resize
    ==> A demo file can be downloaded here: https://app.box.com/s/xr35fqf9pogp84a1inw9
    I apply Edge API: http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html#symbolinstance setVariable
    creationComplete:
    function MadeGraduation () { ... };
    sym.setVariable("myGraduation", MadeGraduation);
    window.resize:
    sym.getComposition().getStage().getSymbol("Graduation").getVariable("myGraduation")();

  • Resize events and bad frame location

    Hi
    I'm writing an application with a main frame and a non-modal
    dialog. I'd like to keep the two windows at the same distance
    so I've to know when the user moves the main frame or resizes
    it. I've added a ComponentListener to the main frame and ...
    I've noticed a strange behaviour when I receive resize events.
    While I'm dragging the left edge of the main frame, resizing
    it, the method getBounds returns always the old location:
    only the frame size changes.
    I can't understand where is the mistake!
    I'm using the Sun JDK 1.5.0_06 under Suse Linux 9.3 Pro.
    Thanks and Regards
    import java.awt.event.ComponentAdapter;
    import java.awt.event.ComponentEvent;
    import javax.swing.JFrame;
    public class ResizeTest extends ComponentAdapter {
         public ResizeTest() {
              super();
              mainFrame = new JFrame("Test Frame");
              mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              mainFrame.setBounds(100, 100, 400, 200);
              mainFrame.addComponentListener(this);
         public void setVisible(boolean visible) {
              mainFrame.setVisible(visible);
         public void componentResized(ComponentEvent e) {
              System.out.println(mainFrame.getBounds());
         public static void main(String[] args) {
              ResizeTest testFrame = new ResizeTest();
              testFrame.setVisible(true);
         private JFrame mainFrame;
    }

    I've just made some tests.
    Using both JRE 1.5.0_06 and JRE 1.4.2_08 on my Suse
    Linux workstation, only "width" value changes.
    Using JRE 1.5.0_04 on Windows XP, it works. Only one
    resize event has been sent (at the end of the drag
    phase), however ... bounds are correct.
    Yes, it seems a version/platform issue.
    Thanks a lot.

  • Safari prevents JavaScript window resize?

    Hello,
    I'm working to integrate some streaming video into an intranet site via popup windows. It seems that Safari is not responding to the JavaScript self.resizeTo or self.moveTo methods when we attempt to put the streaming media player into fullscreen mode.
    For additional context:
    Tthe expansion to fullscreen is initiated by clicking on a button in a Flash media application, but there is a defined JavaScript event handler that will subsequently call the self.resizeTo and self.moveTo methods on the browser window. This is not working in Safari, though it works in IE and Firefox.
    If there are considerations or caveats that relate to JavaScript and the manipulation of window size/placement, I would greatly appreciate any information.
    I found this link (http://lists.evolt.org/archive/Week-of-Mon-20050228/170191.html) that may be relevant to this discussion, but I haven't seen it validated.
    Thank you in advance.
    Regards,
    Benson
    Macbook Pro   Mac OS X (10.4.7)  

    After some testing, it appears that my problem does not exist with basic JavaScript window resizing and movement. In test scenarios, when javascript commands are placed in anchor tags, clicking the links will result in appropriate window movement and resizing. The issue seems to be the fact that the window resizing is not directly user initiated (at least not by clicking on an HTML link).
    Are there any features of Safari that would prevent Flash-driven events from successfully triggering JavaScript actions?

  • Detecting window resizing

    My application displays a JFrame object that contains a JPanel object. The JPanel contains graphics that I would like to update when the JFrame is resized. What kind of listener can I add either to the JFrame or the JPanel, so I can detect resizing events?
    Thanks for your help.

    I appreciate the replies to my question very much. Yet I have 2 problems to overcome:
    1. Apparently WindowStateListener is available only in version 1.4.*. I have to support users that run on JRE 1.3.
    2. I don't see a state change that has to do with resizing a window. I do see states such as opening, closing, iconifying, gaining focus, etc. But none of these have todo with resizing when the user drags a border or a corner of the window and resizes it.
    Please help. I can't be the first unfortunate guy with this kind of problem!
    Thanks,
    Miguel

  • Scrolling and windows resizing

    Is there a way to turn off the feature where if you scroll up or down with your mouse positioned over a windows title bar it resizes the window. This "feature" works with both a standard mouse using a scrollwheel and also when using a touchpad with two finger scrolling.

    The only third party program that I use which modifies the mouse is Sizeup and I have rigorously gone through its setting to determine if it was causing this behaviour. Also the behavior persists even when I shut down sizeup so I don't think it is the cause.
    edit:
    I would also add that this behaviour only appeared after I upgraded to 10.8. While I do have a lot of third party programs running and alot of them were updated when mountain lion was released so it is theoretically possible that this is behaviour is comeing from an external source I have no idea why any of the other programs I have running would affect window resizing.

  • Crashes on window resize

    I am a loyal user of logic for 8 years now. yes I'm posting about an issue where logic crashes (as in: freezes for 30 seconds then closes even if other apps are reWired to it)
    It does this SOMETIMES, when resizing any window in logic..
    it says: UNEFINED RECURSION ERROR and then you know you'll be rebooting your mac g5 (tested on g4 too)
    I sit here thinking of ten years of buying updates.
    and by PURE LUCK alone, I buy every update hoping that certain issues will be fixed. Most are not.
    On a mac there are two ways a window can be act when being resized:
    1 - as you drag the re-sizer corner of the window, you see only a dotted outline of the window, then when you let go, the window resizes.
    2 - as you drag, the entire contents of the window moves as you drag.
    #2 causes crashes. #1 is fast and quick.
    Mr. Moderator, you can delete this post as expected. But you do know as well as I do, these guys never do a user request.
    I mean my $200 alone is enough to pay one developer to fix things like this.
    Nevermind $200 from 2 million people!
    What are you doing with your user requests and your users money?

    Might try removing your media files associated with the project... put them in another folder, or disconnect the fw drive that holds them...?
    Do other project files do the same or just this one?
    Jerry

  • In windows system events observed below bugcheck at the time of restart. Error _02/08/2015 11:27:58 _BugCheck _none _0x00000050 (0xfffff8a01cba4000, 0x0000000000000000, 0x... _1001

    In windows system events observed below bugcheck at the time of restart.

    Hi,
    It seems to be a system crash issue, we need to analyze the crash dump file to narrow down the root cause of the issue. Unfortunately, it is not effective for us to debug the crash dump file here in the forum. I would like to suggest that you contact Microsoft
    Customer Service and Support (CSS) via telephone so that a dedicated Support Professional can assist with your request.
    To obtain the phone numbers for specific technology request please take a look at the web site listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Illustrator Application Window Resizes When Opening Smart Object from PSD

    Hi All, I've taken a vector graphic created in AI CS4 and pasted it into my PSD CS4 doc as a smart object. When the original AI file was created the application window was set as I preferred it, filling my screen. When I double click the Smart Object in PSD to edit it back in Illy, the window that contains the application has been switched off of the fill screen mode and is quite a bit smaller. I know it's small but now I have to click the maximize icon in the application bar to get Illy to fill the screen again. It wouldn't be so bad once, but the application window resizes itself every time I punch back into the smart object from PSD.
    Any ideas on how I can get the AI environment from switching around on its own??
    Win 7, CS4, all patches current, Dual 22" montiors
    thnx,
    jeff

    I just want to point out that when you open the smart object of course it is not the same file as the original but an embedded copy of it.
    That might also have something to do with this issue and might also be a photoshop issue with the smart object and one reason might be that Photoshop is see the image as resolution and Illustrator sees it as a dimension and the teams might be able to do something about this but might not actually be aware of it unless you file a report even if it is not a bug it would then be a feature request.
    They might not be able to do anything about it but then there might be a clever engineer with an idea, so it might be worth the report.

  • Pop up window resize disabled not working in fire fox (Linux)

    Hi all I am using Dreamweaver 8, with behavior I made a pop
    up window and disabled window resizing. It worked nicely in my
    windows XP system (I checked it in IE and Fire fox). But it is not
    working in Linux machine having same version of Fire fox
    browser(but worked correctly in IE on the same machine). In Linux
    machine we can simply resize the window.
    Does anybody give a solution to fix this problem?

    Post a link to the page, please.
    Why disable window resizing? What about those whose screen
    won't display
    the size you have picked?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "thozhayan" <[email protected]> wrote in
    message
    news:egpsde$s3r$[email protected]..
    > Hi all I am using Dreamweaver 8, with behavior I made a
    pop up window and
    > disabled window resizing. It worked nicely in my windows
    XP system (I
    > checked
    > it in IE and Fire fox). But it is not working in Linux
    machine having same
    > version of Fire fox browser(but worked correctly in IE
    on the same
    > machine). In
    > Linux machine we can simply resize the window.
    >
    > Does anybody give a solution to fix this problem?
    >
    >

  • First time data is not transported to pop up window through event handler

    Hi all,
    I am using NWDS 7.0, Now I want to open a pop up on click of a action link.
    There are two DCs DC-A and DC-B.
    I am calling action from DC-A to DC-B. DC-B contains view of pop up window.
    In DC-A I am using intreface controller of DC-B by using used coponents.
    Now In the DC-B used components I have created one fireplugin which is connected ith pop up view of DC-B and that firplugin is called from DC-A action to transport data from Dc-A to DC-B.
    Problem : when I click first time to open pop-up window then event handler is not called but the windows opened. When I close that window and again open the transported data start displaying on pop up window.
    So can you please help me that why first time data is not transported to pop up window.
    Thanks
    Kaushal

    You'll need to use an OARawTextBean. Oracle doesn't support opening links in new windows using OAFormattedTextBean. Just be aware that you'll need to set the CSS class in the HTML as well if you need it formatted a certain way.

Maybe you are looking for