How to set Z Order of objects?

Hi all,
I am creating text, images and rectangles on canvas
dynamically. When ever one object is selected i want to set Z index
of it so it comes on top of another. How can i do it? Can you
provide me sample for it?
Thanks in advance

Also, check out the help docs for "Stage" and see the
setChildIndex and swapChildrenAt methods.
One way to do what you want is to call removeChild when
clicking on an item, immediately followed by addChild. This will
put it on top.

Similar Messages

  • How to set focus order of multiple Component in a Frame

    I have created a Frame with contain some Label, Textfield, Choice and Buttons
    How do set focus order on these Components

    write an implementation of
    import java.awt.*;
    public class PanelFocusTraversalPolicy extends FocusTraversalPolicy
        public Component getComponentAfter(Container container, Component component)
            if(component.equals(cmp1))
                return cmp2;
            if(component.equals(cmp2))
                return cmp3;
            return cmp1;
        public Component getComponentBefore(Container container, Component component)
            //implentation of method
        public Component getDefaultComponent(Container container)
          return cmp1;
        public Component getLastComponent(Container container)
            return cmp3;
        public Component getFirstComponent(Container container)
           return cmp1;
        public PanelFocusTraversalPolicy()
    }and set the focus traversal of frame.
    setFocusTraversalPolicy(new PanelFocusTraversalPolicy())

  • MV45AFZZ, how to set the order of the enhancement to be excecute?

    Hi
    I need to create a new enhancement in a form of MV45AFZZ.
    I need this enhancement to be excecuted at the very end of the form, but when I create the enhancement its getting created before pervious enhancement but I cant create it at the end of the form
    So how can I do to or create it at the end of the form or is there a way to set an order of excecution?
    Any help will be appreciated!
    Nico.-

    Hi
    See  Note 381348 - Using user exit, customer exit, VOFM in SD.
    You can read:
    From the organizational point of view the delivery is arranged as follows: an include
    with empty FORM routines is delivered with a release and afterwards may no longer
    be corrected by SAP. This should prevent that a FORM routine which may have been
    adjusted by the customer is overwritten by SAP again.
    and
    Changes to user exits in SD are MODIFICATIONS, since the original of an object
    belongs to SAP (thus when you change a user exit an SSCR registration is also
    required).
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Jun 30, 2011 9:53 AM

  • How to set exect order sum

    Hellow!
    Sale person need to sale 238 pc of material X.
    If we set price condition = 10,50 then order sum is 2.499,00
    If we set price condition = 10,51 then order sum is 2.501,38
    But customer ask as to set total order sum = 2.500
    How could I manage it ?
    Any condition to correct order sum ?
    Andrey Garshin.

    hi,
    why can't u use DIFF condition type and round off the decimals with prior approval from
    your team lead.
    Cheers,
    Sailesh
    Edited by: sistla sailesh on Mar 27, 2011 7:36 PM

  • How to set-up change document object for deliveries??

    Hi experts ,
    kindly help me with this config , I did some researched and none of them have solve my problem.
    i need to know on how to set-up a change document object for delivery documents.
    Change document object LIEFERUNG is not available in transaction SWED.
    How will I add this change document object in SWED?

    hi ,
    im wondering why even the existing object VERKBELEG is not being triggered?
    would you know any reason for this?

  • How to set timer intervals for object + and a motion for entering stage

    Hi, I am making a simple game but I have a couple problems/queries.
    1) My game is a touch an object and you get a point game, currently the objects appear randomly over the screen, however I am trying to get it to slide into the screen similar to the Fruit Ninja game, but not limited to entering from one side, does anyone know how to set this?
    2) As I mentioned above my objects appear randomly, I have set a timer when I change the timer from 800 to another number, it just makes all the objects on the screen last for 800 milliseconds all at the same time then disappear and appear somewhere else on the screen for another 800 milliseconds and it repeats, what I am trying to do is make them come at different intervals, for example:
    Object 1 - constantly appears, so when the 800 millisecond is over, it comes back on a different part of the stage
    Object 2 - I want it to appear every 5 seconds, so when the 800 millisecond is over it will come back on the stage in 5 seconds, but not instantly like Object 1
    But I have no idea how to do this :/ anyone have the code needed for me to do this?
    Sorry for the long questions, I only asked because I really am stuck, I have been trying to do this for over 2 weeks now.
    Thanks very much.
    My Code
    [Code]
    //importing tween classes
    import fl.transitions.easing.*;
    import fl.transitions.Tween;
    import flash.utils.Timer;
    //hiding the cursor
    Mouse.hide();
    var count:Number = 60;
    var myTimer:Timer = new Timer(1000,count);
    myTimer.addEventListener(TimerEvent.TIMER, countdown);
    myTimer.start();
    function countdown(event:TimerEvent):void {
    myText_txt.text = String((count)-myTimer.currentCount);
    if(myText_txt.text == "0"){
    gotoAndStop(5)
    //creating a new Star instance;
    var star:Star = new Star();
    var box:Box = new Box();
    var bomb:Bomb = new Bomb();
    //creating the timer
    var timer:Timer = new Timer(800);
    var timerbox:Timer = new Timer(850);
    var timerbomb:Timer = new Timer(1000);
    //we create variables for random X and Y positions
    var randomX:Number;
    var randomY:Number;
    //variable for the alpha tween effect
    var tween:Tween;
    //we check if a star instance is already added to the stage
    var starAdded:Boolean = false;
    var boxAdded:Boolean = false;
    var bombAdded:Boolean = false;
    //we count the points
    var points:int = 0;
    //adding event handler to the timer;
    timer.addEventListener(TimerEvent.TIMER, timerHandler);
    //starting the timer;
    timer.start();
    function timerHandler(e:TimerEvent):void
              //first we need to remove the star from the stage if already added
              if (starAdded)
                        removeChild(star);
              if (boxAdded)
                        removeChild(box);
              if (bombAdded)
                        removeChild(bomb);
              //positioning the star on a random position
              randomX = Math.random() * 800;
              randomY = Math.random() * 1280;
              star.x = randomX;
              star.y = randomY;
              star.rotation = Math.random() * 360;
              box.x = Math.random() * stage.stageWidth;
              box.y = Math.random() * stage.stageHeight;
              box.rotation = Math.random() * 360;
              bomb.x = Math.random() * stage.stageWidth;
              bomb.y = Math.random() * stage.stageHeight;
              bomb.rotation = Math.random() * 360;
              //adding the star to the stage
              addChild(star);
              addChild(box);
              addChild(bomb);
              //changing our boolean value to true
              starAdded = true;
              boxAdded = true;
              bombAdded = true;
              //adding a mouse click handler to the star
              star.addEventListener(MouseEvent.CLICK, clickHandler);
              box.addEventListener(MouseEvent.CLICK, clickHandlerr);
              bomb.addEventListener(MouseEvent.CLICK, clickHandlerrr);
    function clickHandlerr(e:Event):void
              //when we click/shoot a star we increment the points
              points +=  5;
              //showing the result in the text field
              points_txt.text = points.toString();
                        if (boxAdded)
                        removeChild(box);
              boxAdded = false;
    function clickHandler(e:Event):void
              //when we click/shoot a star we increment the points
              points++;
              //showing the result in the text field
              points_txt.text = points.toString();
              if (starAdded)
                        removeChild(star);
              starAdded = false;
    function clickHandlerrr(e:Event):void
              gotoAndPlay(5);
    [/Code]

    The only thing that affects TopLink is the increment by, as increasing this is what allows TopLink to reduce the number of times it needs to go to the database to get additional numbers. Ie, an increment value of 1 means TopLink needs to go the database after each insert; an increment value of 50 allows it to insert 50 times before having to get a value from the sequence. The cache on the sequence object in the database affect the database access times. While it may improve the access times when the sequence number is obtained from the database, but I believe the network access to obtain the sequence is the greater concern and slow down for most applications. It all depends on the application usage and design though - an increment (and application cache) of 50 numbers seems to be the best default.
    I cannot say what effect the cache vs nocache settings will have on your application, as it will depend on the database load. Only performance testing and tuning will truly be able to tell you whats best for your application.
    Best Regards,
    Chris

  • HOW TO: set anchoredObjectSettings for .palce() object?

    Hi, I'm currently working on interesting script for GREP placing, and I'm wondering how I can set anchoredObjectSettings for .palce() object?
    for(i=0; i < found.length; i++)
        foundElem = new File (myFolder + "/" + found[i].contents);
        found[i].place(foundElem); // Placing Ancored Object
        // HERE IS WHERE I NEED SOME HELP: how to set "anchoredObjectSettings" for just placed Ancored Object
        //anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
        //anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
    Here you can download example files - script, InDesign file and images, that should be placed into InDesign file with script
    Dropbox - GREP placing.zip
    PS: I believe this script will be very useful, so if anybody have any ideas/suggestions, and want to help me with further development - this would be great!

    Hi Kai, this script is still under development, here is updated version attached (now it can also place files/images by file name only, without extension):
    #target indesign;
    //#include  "! Basic functions.jsx"
        GREP place files.
        This script will ask to select source folder with files to place,
        and then, with dialog box (or prompt) [this is not implemented yet, so I use static GREP value while developing]
        will ask to type GREP find expresion to search for text placeholder, that need to be replaced with file from source folder we just selected.
        TODO: Check how it works with other than image formats
            Also, this might be usefull to make anchored frame with column widh, and fit image proportionally
    scriptName = decodeURI(File(app.activeScript).name.slice(0, -4)); // detect name of current script without expression
    function Alert(msg) // function for native-looking alerts
        w = new Window ("dialog", scriptName, undefined, {closeButton: true});
        w.preferredSize = [300,75]; // window width and height
        w.margins = 15; // window margins
        w.orientation = "column";
        w.alignChildren = ["left", "top"];
        w.add("statictext", undefined, msg);
        close = w.add ("button", [0,0,96,20], "OK", {name: "Ok"});
        close.alignment = ["right", "bottom"];
        close.onClick = function(){exit();}
        w.show();
    main();
    function main()
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
        if(app.documents.length == 0)
            Alert("No documents are open. Please open a document and try again."); exit();
        else
            //> START OF doUndoWraper
            if (parseFloat(app.version) < 6) // "app.version < 6" if it's running under an earlier version than CS4, as earlier versions don't support "Undo" in scripts
                doUndoWrapper();
            else
                app.doScript(doUndoWrapper, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, scriptName);
            //< END OF doUnoWraper
    function doUndoWrapper() // this is the wraper function UNDO everything script made  by single undo
    {// START OF doUndoWrapper
    defaultGREPexpression = "(?i)^[a-z0-9 _-]+\\.\\w{2,4}$"; // Paragraph that starts with upper or lower case latin character, digits, spaces, hyphen or underscore, and ends with .extension
    var myFilteredFiles;
    var myExtensions = []; // initialize array
    myExtensions.push(".jpg", ".jpeg", ".png", ".gif"); // raster images
    myExtensions.push(".psd", ".tif", ".tiff", ".pdf"); // raster images (layered)
    myExtensions.push(".ai", ".eps", ".svg", ".cdr"); // vector graphics
    myExtensions.push(".mp3"); // audio files
    myExtensions.push(".mp4"); // video files
    myExtensions.push(".swf"); // flash files
    myExtensions.push(".doc", ".docx", ".rtf", ".txt"); // text documents
    myExtensions.push(".xls", ".xlsx"); // table documents 
    //Display the folder browser.
    if(app.activeDocument.saved) // our document was saved before - we suggest to start search for source folder from were InDesign file saved
        var myFolder =  Folder(app.activeDocument.filePath).selectDlg("Select the source folder with files for placing", "");
    else // file was not saved before, so we don't know where to search > suggest to start from Desktop
        var myFolder = Folder.selectDialog("Select the source folder with files for placing", "");
    if(myFolder) // if folder was selected
        //Get the path to the folder containing the files you want to place.
        var files = new Object(); // This will assoc array with FILE_NAME => FILE_EXTENSION
        if(File.fs == "Macintosh")
            myFilteredFiles = myMacOSFileFilter(myFolder);
        else
            myFilteredFiles = myWinOSFileFilter(myFolder);
        if(myFilteredFiles.length != 0) // success: we have found supported files to place
            for(i = 0; i < myFilteredFiles.length; i++)
                var filename = myFilteredFiles[i].fsName.toString().replace(/^.*[\\\/]/, ""); // now we get only file names with extenstions
                var file = [];
                file = filename.split("."); // separate file name from file extension         
                files[file[0]] = file[1]; // write FILE_NAME => FILE_EXTENSION as assoc array
        else // error: There is no supported files for placing in specified folder
            Alert("ERROR: There is no supported files for placing in specified folder.");
            exit();
    else // ERROR: we have not choose source folder
        Alert("Folder with source files was not specified"); exit();
    //Windows version of the file filter.
    function myWinOSFileFilter(myFolder)
      var myFiles = new Array;
      var myFilteredFiles = new Array;
      for(myExtensionCounter = 0; myExtensionCounter < myExtensions.length; myExtensionCounter++)
            myExtension = myExtensions[myExtensionCounter];
            myFiles = myFolder.getFiles("*"+ myExtension);
      if(myFiles.length != 0)
                for(var myFileCounter = 0; myFileCounter < myFiles.length; myFileCounter++)
      myFilteredFiles.push(myFiles[myFileCounter]);
      return myFilteredFiles;
    function myMacOSFileFilter(myFolder)
      var myFilteredFiles = myFolder.getFiles(myFileFilter);
      return myFilteredFiles;
    //Mac OS version of file filter
    //Have to provide a separate version because not all Mac OS users use file extensions and/or file extensions are sometimes hidden by the Finder.
    function myFileFilter(myFile)
        var myFileType = myFile.type;
        switch (myFileType)
            case "JPEG":
            case "EPSF":
            case "PICT":
            case "TIFF":
            case "8BPS":
            case "GIFf":
            case "PDF ":
                return true;
                break;
            default:
            for(var myCounter = 0; myCounter<myExtensions.length; myCounter++)
                var myExtension = myExtensions[myCounter];
                if(myFile.name.indexOf(myExtension)>-1)
                    return true;
                    break;
      return false;
    //> START OF GREP expression dialog
    w = new Window ("dialog", scriptName+": specify expression", undefined, {closeButton: true});
    w.preferredSize = [300,75]; // window width and height
    w.margins = 15; // window margins
    w.orientation = "column";
    w.alignChildren = ["left", "top"];
    panel = w.add("panel", undefined, "Find what: (GREP expression)");
    if(app.findGrepPreferences.findWhat != "")
        grepExpression = app.findGrepPreferences.findWhat;
        clearFindWhat = false;
    else
        grepExpression = defaultGREPexpression; // use default GREP expression
        //fgrepExpression = "\\[.+\\]"; // \\< means "begining of the world", and \\> means end of the world;
        clearFindWhat = true;
    var grepExpression = panel.add ("edittext", [0,0,270,20], grepExpression);
    grepExpression.active = true;
    panel.add("statictext", undefined, "GREP expression no need for for double \\\\ escaping");
    ok = w.add ("button", [0,0,96,20], "Continue", {name: "Ok"});
    ok.alignment = ["right", "bottom"];
    ok.onClick = function()
        findWhat = grepExpression.text; 
        w.hide();
    w.show();
    //< END OF GREP expression dialog
    if(typeof findWhat !== "undefined") // check we have not left GREP expression field empy
        app.findGrepPreferences.findWhat = findWhat; // our GREP that search for image placeholder text;
        found = app.activeDocument.findGrep();
        for(i=0; i < found.length; i++)
            if(found[i].contents.indexOf(".") > -1) // we wroking with file name with extension
                foundElem = new File (myFolder + "/" + found[i].contents);
            else // we work with file name only, so we need to add file extension manually
                found[i].contents = found[i].contents.replace(/[^a-z0-9 _-]/gi, ""); // remove all unwanted characters from file name: only letters, numbers, spcaces, minus and underscores allowed     
                foundElem = new File (myFolder + "/" + found[i].contents + "." +  files[found[i].contents]);     
          try
                placedObj = found[i].place(foundElem)[0].parent; // THANKS TO: Jump_Over for help @ https://forums.adobe.com/message/6912489#6912489
                placedObj.anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
                placedObj.anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
                placedObj.frameFittingOptions.autoFit = true;
                placedObj.frameFittingOptions.fittingOnEmptyFrame = EmptyFrameFittingOptions.FILL_PROPORTIONALLY;
                placedObj.frameFittingOptions.fittingAlignment = AnchorPoint.CENTER_ANCHOR;         
            catch(e)
                Alert(e);         
        app.changeGrepPreferences.changeTo = "";
        app.activeDocument.changeGrep();
        if(clearFindWhat) // clearing only if typed GREP expression manually
            app.findGrepPreferences = app.changeGrepPreferences = null; // clear Find/Change preferences once we finished
    else
        Alert("Find what GREP expression was not specified"); exit();
    }// END OF doUndoWrapper
    Top part with Windows/Mac filtering was copy-pasted from default InDeign script "ImageCatalog.jsx" as example and modified - I'm not sure if all this stuff is needed, I haven't test if it works the same without those filtering on both OS - if that's not needed - then thanks for tip!
    PS: in your findWhat \l{3,4} will not catch .ai files
    and what means .source at the end? is that doing necessary escaping, so with it it's posible to write \l instead of \\l

  • How to set tabbing order in Acrobat X Pro

    I cannot find any instructions for manually setting tabbing order in Acrobat X Pro.  It does not work the same as earlier versions of Acrobat Pro.  Any idea as to where I can go for instructions for X Pro?

    Thank you for the quick response!  I found instructions for the Pro 9 version, so followed that and it worked like a charm.
    Thanks again for your help.
    RJ

  • How to set different relations to object Primary UID and to another UID?

    I am a quite experienced in data modeling, but not too much in SQLDM. The problem is I can not find in SQL DM a feature that allows to set up two different relations between two objects with different set of parent-child attributes for the relations. E.g. object A has PK attribute A1 and attribute A2 as UID. When I am trying to create 1:M relation to another object B it always generates attribute A1 in the object B, although my intention is to create two different relations with different "parent" attributes A1 and A2. The relation property -> Attributes window does not allow to edit attributes. It's not a pure theoretical question. In the real word e.g. ISO_CURRENCY table has two unique identifiers for the currency - alpha and numeric and some data have FKs to first or second UID. Could someone give a clue how to handle that in SQL DM, please?

    Thanks a lot David,
    I read the thread you pointed carefully. IMHO the ODM problem in the light of this discussion is that the ODM Logical Model is not a Logical Model :) The classical ERD model which ODM is used for logical modeling is not supposed to reflect the way which the relation is implemented in the database model which can be not relational in general. But ODM creates "attribute of relation" in the child table demonstrating the relational database approach. So we have Logical Model as Relational Model with some kind of restrictions like I mentioned as the question for the thread.
    IMHO It'd be more abstract from the database model if the ODM logical model relation implementation is not shown in the logical model and it can be altered on the relational model generation stage (default mode could be FK generation based on the object PK).

  • How to set Incomplete order to set complete status

    Hi Gurus,
    Issue background: I have one order where delivery and billing has taken place accounting doc also generated.
                                  But order INcomplete log status is incomplete, (Plant and Pricing is showing as incomplete).
                                  Pl don't ask me how this is possible (because I can see in the system)
    What I have done: I have set the reson for rejection in the sales order header for all items. Still issue not resolved.
    Issue here is:        Order is still showing in the incomplete order report
    Business wouldn't want to:     revere this inv/del/order and redo.
    Is there any sap program I can run to set the incomplete order to set as complete?

    Hi,
    If you want to close or get the status the sales order as completed,
    1.Check the entry for the field ABGRU in the table VBAP for the sales order.
    2.If there is no value i.e the field is empty then try to assign the reason for rejection in the sales order item level and save the document.
    Regards,
    Gopal.

  • In the transaction IW31, How to set "UNPLANNED ORDER" in CONTROL tab

    Hi All,
       I want to set the indicator as  "UNPLANNED ORDER"  for creating a new work order in (IW31) with order type as ZMS2.
         I m using the Bapi "BAPI_ALM_ORDER_MAINTAIN".
          and providing the value " SPACE"  for "UNPLANNED ORDER". but its not getting updated for new work order.
        Can anyone help me out of this...
    Thanks in Advance!!!!!!!!!!!!
    Regards,
    Thulasi.

    Hi Surekha,
    You can pass the order number.  First store the order number in one global memory id .
    by using this statement
    SET PARAMETER ID .'(w_uname)' FIELD w_orderno  where order_no will be the order number selected on CRM WEBUI.
    now go to class defined in the transaction launcher for va22.
    in the class there is a method PREPARE_DATA_FLOW , in this method read the global memory using the statement
    GET PARAMETER ID '(w_uname)' FIELD w_orderno.
    set the parameter icwebclientborkeyparameter with the order value.
    Now in ECC go to transaction swo1. Give the object name as ZTSTC or the one defined in the transaction launcher. In the execute method you can retrieve the value of the order number.
    Regards
    Sohit

  • How I set the Focus in object

    Hello.
    I need set the focus on first object in a JInternalFrame.
    The form JInternalFrame contain a JTabbedPanel and this include object jFormatedTextFields.
    I need when the init form set the focus over first object in the first tab of JTabbedPanel. How I do?.
    Than You

    works OK in this
    (tabbed panes seem to be working OK for focus now, don't know what's changed)
    import javax.swing.*;
    import java.awt.*;
    import  javax.swing.text.*;
    class Testing extends JFrame
      MaskFormatter mf;
      JFormattedTextField ftf;
      public Testing()
        setLocation(300,200);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        try{mf = new  MaskFormatter("###.###.##.##");}
        catch(Exception e){e.printStackTrace();}
        ftf = new JFormattedTextField(mf);
        JTabbedPane tp = new JTabbedPane();
        tp.addTab("A",ftf);
        JDesktopPane dp = new JDesktopPane();
        JInternalFrame if1 = new JInternalFrame( "I-F1", true, true, true, true );
        if1.setLocation(50,50);
        if1.getContentPane().add(tp);
        if1.pack();
        if1.setVisible(true);
        dp.add(if1);
        getContentPane().add(dp);
        setSize(400,300);
        setVisible(true);
        ftf.requestFocusInWindow();
      public static void main(String[] args){new Testing();}
    }

  • How to setting PM order to create PR ?

    Dear experts :
    When I create a PM order with many operations items , and the items need to be done external.
    How to config for below cases when PM order save ?
    1. Each item create it's own PR.
    2. All items create one PR.
    By the way , if it is possible to create one PR with more than one items in one operations item?
    Hope someone can tell me how to do the setting .
    Thanks a lot .
    Edited by: Gary Wang on Apr 19, 2010 4:34 PM

    You need to set two items:
    1.) Control Key - Designate a seperate control key for External activities (PM02 is often used, unless you have a seperate set of codes/code naming method)
    PM -> Maintenance and service processing -> Maintenance and Service Orders -> Functions and settings for order types -> Control Key -> Maintain Control Keys.  Assign a "+" to the "Externally processed operation" field.
    When that is set, be sure to specify that in your work order or task list.  Then, you will be prompted to fill out the purchase requisition information.
    2.) Requisitions: You have the choice of one req for all operations or one req for each.  To make that setting, go to:
    PM -> Maintenance and service processing -> Maintenance and Service Orders -> Functions and settings for order types -> Define Change docs, Collective purchase req indicator, operation No interval.
    Edited by: PMPSMM on Apr 19, 2010 9:44 AM
    Edited by: PMPSMM on Apr 19, 2010 9:51 AM

  • How to set the order of the fields in List forms

    I am currently building custom content type using Announcements. I have added 5 custom field types in list defoinition using schema.xml but my fields are appearing after default fields like title, Body, Expiry and then my fields in DispForm.aspx. I want
    to change the order of the fields appearing in NewForm.aspx. How can i do that ?

    Set the value in schema as you want to display 
    <ViewFields>
              <FieldRef Name="LinkTitleNoMenu"></FieldRef>
              <FieldRef Name="GroupName"></FieldRef>
              <FieldRef Name="SeqID"></FieldRef>
              <FieldRef Name="Image"></FieldRef>
              <FieldRef Name="URL"></FieldRef>
              <FieldRef Name="LinkTarget"></FieldRef>
              <FieldRef Name="Visible"></FieldRef>
              <FieldRef Name="SubLinkTitle"></FieldRef>
              <FieldRef Name="DisplayComingSoon"></FieldRef>
            </ViewFields>
    Er.vinay

  • How to set Tab ordering in JPanel

    hi all
    i add a JPanel on a JFrame and Various swing Controls on that JPanel. now i want to change tab ordering of components present in my JPanel.
    please guide me how can i do this. i have tried setFocusTraversalPolicy but it does not work with JPanel.

    You should read the article from Sun:
    "How to Use the Focus Subsystem"
    http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html
    Moshe

Maybe you are looking for