Adding ChangeListener for JTabbedPane

Hello smart people,
Does anyone know what is the correct way to add a change listener to a JTabbedPane. I tried to fo it like this:
mainFrame = new JTabbedPane();
mainFrame.add(panelOne, "tab1");
mainFrame.add(panelTwo, "Training");
mainFrame.add(panelThree, "Spot");
mainFrame.addChangeListener(new tabListener());Than I added an inner class for the listener:
public class tabListener implements ChangeListener {
        public void stateChanged(ChangeEvent e) {
            System.out.println("In Here Tab!!!");
}But it doesn't work (it doesn't print the statement). It can only compile when I have the listener in an inner class. If I don't, the compiler says:
MainFrame.java:38: addChangeListener(javax.swing.event.ChangeListener) in javax.swing.JTabbedPane cannot be applied to (MainFrame)
Is there another way of doing it?

Ok, I figured it out, please ignore

Similar Messages

  • Adding listeners for instances on other frames

    I'm trying to create a very standard menu, the type where there are links on each page that links to each other. So far I've put each menu page on a separate frame (total around 35 frames), and each link as its own instance/class. Originally I planned to create an array containing all the links like this:
    var menuLinks:Array =
                                //Main menu - frame 1
                                menuRightSide.newStoryLink,
                                menuRightSide.continueStoryLink,
                                menuRightSide.selectChapterLink,
                                menuRightSide.optionsLink,
                                menuRightSide.charactersLink,
                                menuRightSide.aboutLink,
                                //chapters menu - frame 2
                                menuRightSide.chapter1,
                                menuRightSide.chapter2,
                                menuRightSide.chapter3,
                                menuRightSide.chapter4,
                                menuRightSide.chapter5,
                                //characters - frame 3
                                menuRightSide.char1,
                                menuRightSide.char2,
                                menuRightSide.char3,
                                menuRightSide.char4,
                                menuRightSide.char5,
                                menuRightSide.char6,
                                //options - frame 4
                                menuRightSide.languageLink,
                                menuRightSide.costumeLink,
                                //function links - these exist on MULTIPLE frames/pages, eg options, characters, chapters all have backToMainLink
                                menuRightSide.backToMainLink,
                                menuRightSide.backToCharLink,
                                menuRightSide.backToOptionsLink,
                                menuRightSide.backToCostumeLink,
                                ]; //create array of links for menus
                currentPage = "main_menu";
                for each (var links:MovieClip in menuLinks)
                    links.buttonMode = true; //set links to behave like button
                    links.mouseChildren = false; //mouse over does not affect this instance's children
                    links.addEventListener(MouseEvent.ROLL_OVER, onOver);
                    links.addEventListener(MouseEvent.ROLL_OUT, onOut);
                    links.addEventListener(MouseEvent.CLICK, onClick);
                function onOver(e:MouseEvent):void //apply glow to every link
                    TweenMax.to(e.target, 1, {glowFilter:{color:0xFFFFFF, alpha:1, blurX:10, blurY:10}}); //glow effect
                function onOut(e:MouseEvent):void //remove glow on link on mouse out
                    TweenMax.to(e.target, 1, {glowFilter:{color:0xFFFFFF, alpha:0, blurX:0, blurY:0, remove:true}}); //remove glow
                function onClick(e:MouseEvent):void
                    currentPage = e.target.name;
                    if (e.target.name == "newStoryLink") { //if click newStoryLink
                        delegate.beginStory();
                    } else if (e.target.name == "optionsLink") { //if click optionsLink
                        TweenLite.to(menuRightSide, 0.2, {alpha:0, onComplete:menuRightSide.gotoAndStop, onCompleteParams:[45]}); //go to frame 45, options screen
                        TweenLite.to(menuRightSide, 0.2, {alpha:1, delay:0.2});
                    } else if (e.target.name == "charactersLink") { //if click charactersLink
                        TweenLite.to(menuRightSide, 0.2, {alpha:0, onComplete:menuRightSide.gotoAndStop, onCompleteParams:[10]}); //go to frame 10, char screen
                        TweenLite.to(menuRightSide, 0.2, {alpha:1, delay:0.2});
                    } else if (e.target.name == "aboutLink") { //if click aboutLink
                        TweenLite.to(menuRightSide, 0.2, {alpha:0, onComplete:menuRightSide.gotoAndStop, onCompleteParams:[180]}); //go to frame 180, about screen
                        TweenLite.to(menuRightSide, 0.2, {alpha:1, delay:0.2});
    Basically adding listener for every link, then simply telling AS what to do when I click the link regardless of what page I'm currently on.
    However the problem is I realized listeners can't be added for links that exist on other frames other than frame 1, because they're null I think until AS flips to that frame.
    So does anyone have an idea on how I should code this? Another challenge is some links (the ones at the bottom of the array) exist on MULTIPLE frames, but perform the exact same thing regardless of which page it was clicked on.
    Thanks.

    I arranged them on separate frames because that way I know exactly what's on each page. If I simply list out all the links on one frame, then it gets extremely messy visually.
    So if I want to add listeners on other frames, how would I do that? I know the pseudo-code:
    on frame 1:
    for (each link on frame 1) {
    link.addEventListener()
    on frame 2:
    for (each link on frame 2) {
    link.addEventListener()
    ... etc
    function onClick(e:MouseEvent):void
                    currentPage = e.target.name;
                    if (e.target.name == "newStoryLink") {
                        delegate.beginStory();
                    } else if (e.target.name == "continueStoryLink") {
                        //do something else

  • [svn:osmf:] 11848: Added check for argument error DRM subsystem throws while generating a DRMContentInfo Object .

    Revision: 11848
    Revision: 11848
    Author:   [email protected]
    Date:     2009-11-16 10:00:48 -0800 (Mon, 16 Nov 2009)
    Log Message:
    Added check for argument error DRM subsystem throws while generating a DRMContentInfo Object.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/drm/DRMServices.as

    Well, I can tell you that this kind of error is not OS related, but rather a HW thing.  It happens where there is a general detection of something going wrong.  Sometimes it can happen randomly and might not be an indication of a problem.  But sometimes it can be caused by things that are improperly functioning within the system like bad capacitors. 
    Unfortunately I don't really know what to do about such things except give you machine a proper inspection.  But if things are working fine, and continue to do so, I wouldn't worry about it.  If it becomes a regular occurance, then I'd worry.

  • How can i get newly added contacts for a Mailbox User in Exchange Server 2013

    Hi all,
    I need to synchronize contacts in Exchange Server and Sugar CRM Application, for that
    i need to get newly added contacts for a User in Exchange Server 2013 by using EWS Managed API.
    I know how get the list of all contacts for a particular user , but in the list how i can find
    new contacts ?

    Hi Dora,
    that's the fun thing:
    You add your own property (and it'll be invisible to outlook users, not to worry).
    Extended Properties allow you to define custom property on Exchange Items. And it has a
    method for setting those too.
    Here's a short post doing a very simple intro on using Extended Properties.
    Glen's Exchange Blog is a generally useful resource when working with EWS, I'm confident you'll be able to find lots of tips there as well.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • [svn:fx-trunk] 10389: Added support for octothorpe in embed file names.

    Revision: 10389
    Author:   [email protected]
    Date:     2009-09-18 07:19:26 -0700 (Fri, 18 Sep 2009)
    Log Message:
    Added support for octothorpe in embed file names.  And here I thought I'd never use the term octothorpe in a sentence.
    QE notes: None
    Doc notes: None
    Bugs: SDK-23033
    Reviewer: Paul
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23033
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java

  • [svn] 3319: Adding support for documentation of SkinStates metadata.

    Revision: 3319
    Author: [email protected]
    Date: 2008-09-23 13:29:09 -0700 (Tue, 23 Sep 2008)
    Log Message:
    Adding support for documentation of SkinStates metadata. xslt files still needs to be updated to generate html for this metadata.
    Removing some unused code from ASDocExtension
    Fix for SDK-16759 - @example tag adds 'How to use examples' link to a file that's not present
    Fix for SDK-17001 - ASDoc should add "import flash.events.Event" when it encounters the [Bindable] tag
    QA: Yes
    Doc:
    Reviewed By: Paul
    Tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16759
    http://bugs.adobe.com/jira/browse/SDK-17001
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/class-files.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.java

    There is actually code in the base class that tests for
    whether the (extended) class implements the interface, so you don't
    need to add any methods - the interface itself is used as a "marker
    interface". Try setting the focusEnabled property to true as well
    (if you haven't already).
    If none of this works, have a look at the source of the
    canvas class - from within flexBuilder, hold down Ctrl and click on
    the reference to Canvas in your class (extends...). This should
    open the source in your editor and you can search for "focus" and
    probably find our where it's going wrong.

  • Will Apple be adding support for the pointer_lock feature in the Safari browser?

    Various 3d games online are using WebGL (supported in Safari) but some are using the new "pointer_lock" feature:
    https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API
    Will Safari be adding support for pointer_lock in the near future? Here is an example of a WebGL interaction:
    https://www.blend4web.com/en/demo/tut_jungle_outpost/
    Thanks,
    Drew

    We don't know, and speculation is forbidden on the forums. When Apple announces it, then we'll all know.

  • [svn:fx-trunk] 10959: Adding support for FXG 2. 0 additional blend modes that do not have a SWF equivalent.

    Revision: 10959
    Author:   [email protected]
    Date:     2009-10-09 13:38:19 -0700 (Fri, 09 Oct 2009)
    Log Message:
    Adding support for FXG 2.0 additional blend modes that do not have a SWF equivalent. For the optimized FXG case, we now generate an ActionScript SymbolClass and set the corresponding blend shader. This requires checking in the additional shader classes and PBJ files, but note we do not yet use them in MXML graphics.
    Note: This change does not address luminosity masks.
    QE notes: Please update FXG opt. testsuites for additional blendModes.
    Doc notes: No
    Bugs: N/A
    Reviewer: Paul
    Tests run: checkintests, mustella spark/core/fxg
    Is noteworthy for integration: Yes, this change includes support for the additional blendModes of FXG 2.0 (though only for the optimized FXG case, and not MXML graphics).
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Color.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorBurn.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorBurnShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorDodge.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorDodgeShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Exclusion.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ExclusionShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Hue.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/HueShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Luminosity.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/LuminosityShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Saturation.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SaturationShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SoftLight.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SoftLightShader.as

    Ive resolved vertical refresh and resolution issues by declaring VideoRam value in fglrx section of my xorg.conf.

  • [svn:fx-trunk] 12944: Added support for state specific sccessible names in ToggleButtonAccImpl

    Revision: 12944
    Revision: 12944
    Author:   [email protected]
    Date:     2009-12-14 21:36:44 -0800 (Mon, 14 Dec 2009)
    Log Message:
    Added support for state specific sccessible names in ToggleButtonAccImpl
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.as

    Sorry about that. I am not exactly sure where the problem is, but I know it takes place after I put the <nav> in (in the html portion). If I understand what I am learning, the CSS at the top will structure my html code so I would have thought the CSS tageting my nav would be the focus. Maybe it is a different section though.
    CSS part:
    nav p {
    font-size: 90%;
    color: #FFC;
    text-align: right;
    font-weight: bold;
    background-color: #090;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #060;
    HTML part: (bold italic is the part I added)
    <body>
    <div class="container">
      <div id="apDiv1"><img src="Lessons/images/butterfly-ovr.png" width="170" height="158" alt="GreenStart Logo"></div>
      <header></header>
      <nav>
        <p>Home | About Us | Contact Us</p>
      </nav>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="#">Green News</a></li>
          <li><a href="#">Green Products</a></li>
          <li><a href="#">Green Events</a></li>
          <li><a href="#">Green Travel</a></li>
          <li><a href="#">Green Tips</a></li>
        </ul>

  • [svn] 4875: Adding support for multiple @productversion tags

    Revision: 4875
    Author: [email protected]
    Date: 2009-02-06 08:31:48 -0800 (Fri, 06 Feb 2009)
    Log Message:
    Adding support for multiple @productversion tags
    QE Notes: None.
    Doc Notes: None
    Bugs: SDK-19104
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19104
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java

    Revision: 4875
    Author: [email protected]
    Date: 2009-02-06 08:31:48 -0800 (Fri, 06 Feb 2009)
    Log Message:
    Adding support for multiple @productversion tags
    QE Notes: None.
    Doc Notes: None
    Bugs: SDK-19104
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19104
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java

  • [svn] 4146: adding support for multiple @playerversion tags.

    Revision: 4146
    Author: [email protected]
    Date: 2008-11-19 21:37:23 -0800 (Wed, 19 Nov 2008)
    Log Message:
    adding support for multiple @playerversion tags.
    Fix for asdoc.exe not outputting information for the @langversion tag.
    Also removing some unused code from DITA generation..
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-18158, SDK-18159
    tests: checkintests, asdoc
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18158
    http://bugs.adobe.com/jira/browse/SDK-18159
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    Revision: 4146
    Author: [email protected]
    Date: 2008-11-19 21:37:23 -0800 (Wed, 19 Nov 2008)
    Log Message:
    adding support for multiple @playerversion tags.
    Fix for asdoc.exe not outputting information for the @langversion tag.
    Also removing some unused code from DITA generation..
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-18158, SDK-18159
    tests: checkintests, asdoc
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18158
    http://bugs.adobe.com/jira/browse/SDK-18159
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

  • [svn] 4001: Adding support for asdoc in flex ant tasks

    Revision: 4001<br />Author:   [email protected]<br />Date:     2008-11-03 13:46:13 -0800 (Mon, 03 Nov 2008)<br /><br />Log Message:<br />-----------<br />Adding support for <asdoc> in flex ant tasks<br /><br />QE Notes: Tests need to be added to the flextasks test suite.<br />Doc Notes: flex tasks documentation should be updated with example for <asdoc> task. <br />Reviewer: Paul<br />Bugs: SDK-9775<br />tests: checkintests<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/SDK-9775<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/modules/antTasks/flexTasks-internal.tasks<br />    flex/sdk/trunk/modules/antTasks/flexTasks.tasks<br /><br />Added Paths:<br />-----------<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java

    You should use compiler.library-path to include libraries.
    Try the following
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <project basedir="." default="build" name="Project_name">
    <property environment="env"/>
    <property name="FLEX_HOME" value="C:/Program Files/Flex 3.4"/>
    <property name="APP_ROOT" value="./src"/>
    <property name="Project_name.location" value="../Project_name"/>
    <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
    <target name="build">
    <mxmlc file="${APP_ROOT}/AdminConsole.mxml">
    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <compiler.library-path>
    <include name="${Project_name.location}/src" />
    </compiler.library-path>
    </mxmlc>
    </target>
    </project>
    Although, I don't know what are you planning to include, and whether you should use compiler.library-path for that.

  • While adding localization for appstore meta data, I cannot find the language Polish (Polski)

    While adding localization for appstore meta data, I cannot find the language Polish (Polski) under the option Choose another language: in iTunes connect.
    I am updating the app to a newer version. I need to show the App description etc in Polish too. But I can't fnd the Polish in the list of languages that can be
    added. Screen shot of languages is attached.
    Thanks.

    Hi,
    According to your post, my understanding is that you have an issue about adding attachments to list items in app.
    To add attachment to list item in the host web, we should first get the list and the list items from the host web, then add the attachments to the list items.
    There are two articles about retrieve the list and list items in the host web, you can refer to them.
    http://www.dotnetcurry.com/showarticle.aspx?ID=1028
    http://www.c-sharpcorner.com/UploadFile/93cb27/retrieve-sharepoint-app-host-web-list-items-in-sharepoint-ho/
    What’s more, we can also use the REST API to achieve the same scenario.
    http://www.c-sharpcorner.com/UploadFile/472cc1/add-attachments-to-list-items-in-sharepoint-2013-using-rest/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • [svn:fx-trunk] 9349: * Added support for using getStyle() in Mxml data binding expressions.

    Revision: 9349
    Author:   [email protected]
    Date:     2009-08-17 11:32:37 -0700 (Mon, 17 Aug 2009)
    Log Message:
    Added support for using getStyle() in Mxml data binding expressions.
      In addition to the existing "function return watcher" data binding
      functionality, we register to listen for style related change events
      when we see a function marked with [Bindable(style="true")].
      UIComponent's and TextGraphicElement's styleChanged() will now
      dispatch events for "getStyle()" FunctionReturnWatchers to handle.
      When null or "styleName" is passed into styleChanged(), we dispatch
      an "allStylesChanged" event.
    QE notes: mxunit test to follow
    Doc notes:
    Bugs: SDK-20394
    Reviewer: Glenn, Pete F, Peter D
    Tests run: checkintests, mxunit databinding
    Is noteworthy for integration: only if you want to start using it.
    Code-level description of changes:
      modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java
        Modified generateWatcher() to do the AST equivalent of the
        WatcherSetupUtil.vm change.
      modules/compiler/src/java/flex2/compiler/as3/binding/FunctionReturnWatcher.java
        Removed unused isNew variable and added isStyleWatcher variable.
        Modified shouldWriteSelf() to return true if isStyleWatcher is true.
      modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm
        Modified writeFunctionReturnWatcher macro to add a true arg to the
        FunctionReturnWatcher constructor call when isStyleWatcher() is
        true.
      modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEvaluator.java
        Modified evaluate(Context, MetaDataNode) to skip reporting an
        error for no events when style is true.
      modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassEvaluator.java
        Replaced insideCallExpression boolean with callExpressionStack
        Stack.  The "!insideCallExpression" checks were replaced with
        callExpressionStack.isEmpty().
        Modified addBindables() to handle [Bindable(style="true")].
        Made argumentListStack and resetSet more strongly typed.
      frameworks/projects/framework/src/mx/core/UIComponent.as
        Modified styleChanged() to dispatch a "Changed" and "allStylesChanged" from the previous
        parent and add listeners to the new parent when isStyle is true.
        Modified eventHandler to notifyListeners() when isStyle is true.
      frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicElement.as
        Similar changes to UIComponent.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-20394
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/FunctionReturnWatcher.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicE lement.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEval uator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassE valuator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/FunctionReturnWatcher .java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm

  • [svn] 1307: modules: added support for automatically adding " use namespace X", depending on the -target-player value

    Revision: 1307
    Author: [email protected]
    Date: 2008-04-18 16:28:33 -0700 (Fri, 18 Apr 2008)
    Log Message:
    modules: added support for automatically adding "use namespace X", depending on the -target-player value
    * similar to how we add "use namespace AS3"
    * symmetric with ASC's -use feature, however we don't have equivalent commandline support yet
    Bugs: n/a
    QA: Nothing in particular, except for testing the new functionality of -target-player (email me about this)
    Doc: Maybe: If we doc about "use namespace AS3" being added to all Flex compiles, we may want to talk about this.
    Reviewers: Pete and Erik
    Modified Paths:
    flex/sdk/trunk/frameworks/flex-config.xml
    flex/sdk/trunk/lib/asc.jar
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/BatchCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/Compiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/ScriptCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/MetaDataParser.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

    Thanks for your attention.
    In the above logs, higher resolutions seems to be detected on both screens, hence my surprise :
    [ 391.631] (II) intel(0): Printing probed modes for output LVDS1
    [ 391.631] (II) intel(0): Modeline "1600x900"x60.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP)
    [ 391.897] (II) intel(0): Printing probed modes for output HDMI1
    [ 391.897] (II) intel(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz eP)
    If it can help here is also my current xrandr output (after having called it manually to use the preferred resolution of each screen)
    itanguy ~ $ xrandr
    Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
    LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
    1600x900 60.0*+ 40.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    VGA1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
    1680x1050 59.9*+
    1280x1024 75.0 60.0
    1152x864 75.0
    1024x768 75.1 60.0
    800x600 75.0 60.3
    640x480 75.0 60.0
    720x400 70.1
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI2 disconnected (normal left inverted right x axis y axis)
    HDMI3 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    DP3 disconnected (normal left inverted right x axis y axis)
    If needed, I may reboot and provide xrandr output after boot (it will be 1024x768), or could other logs help you ? Please ask...

Maybe you are looking for

  • Acrobat 9 Pro Callout Tool Font Problem

    I am using Adobe Acrobat Pro 9.  I'm trying to change the font and center the text in a callout tool box.  I've tried everything and can't get the font properties to appear.  When I select the properties all I can change are properties related to the

  • How can I change annotation font and/or size?

    I would like to change the font of the graph annotations. I know how to change other parameters of the annotation list, such as color, type, visibility etc. But there seems to be no option to change the font or at least the font size. Thanks! Message

  • How to add [Thunderbird] Attachments content type action to list

    Thunderbird, Linux. Attachments. There is only one entry: Microsoft word documents. I want to add other attachment types, like .jpg (open with Gwenview) and so on, but I don't know how to add anything to the list. When I snapped on the "Post Question

  • Re: shared variable: create programmatically then read/write

    I programatically create and destroy Shared Variables using these subVIs (see enclose llb file for Add Variable Connection.vi and Delete Variable Connection.vi).  But it seems to take a long time to run each subVI.  This might be tolerable for a sing

  • The RPC server is unavailable while trying to take Remote Desktop of 2003 Server.

    Dear All Recently I am facing remote desktop login problem in on Windows 2003 Server. While I am enter user name and password server give me logon error. "The system cannot log you on due to the following error: The RPC server is unavailable. Please