Controlling the preview order of objects.

hi all.
im creating a dynamic menu which has submenus.
when an item (jbutton) on the menu is clicked all of the items which are below are moved down and the submenu appears in that gap..
my problem is that the submenu buttons are previewed above the top menu items..
the submenu items have false in the display propery. that changes when the top menu button which moves get to the same height as the sub menu button...
all i want is the the menu buttons will have a higher zindex value..
i checked the apis and saw that java.awt.Container has this method: setComponentZOrder(Component comp, int index) but the netbeans ide says that it cant find it....
anyone has an idea of how can imake it work?
thanks!

The method setComponentZOrder available sinse 1.5. So you may use j2se1.5 to have the method.

Similar Messages

  • How can I limit/control the addition of auth. objects to security roles?

    Checking the authorization object S_USER_VAL it seemed that it grants the ability to limit the addition of authorization objects, but I tried using a test ID in sandbox along with a test role, removing the object, creating ranges in order to limit to a certaing type of auth. objects and didn't work. S_USER_AGR will give me access to limit which type of roles I can modify, but I'm looking to restrict the addition of specific security objects to security roles. If anyone knows the answer to this please share! Thanks in advance for your help!!!!
    Edited by: Armando Salas on Nov 29, 2011 7:41 PM

    Hi Armando,
    Try with auth.obj. S_USER_AUT. A suggestion. Search this objects with tcode SU24, for instance, for tcode PFCG and it gives a list with objects.
    I hope this helps you
    Regards
    Eduardo

  • How to Control the "tab order" in Adobe Captivate 8?

    Hi Guys,
    I was just trying to insert "tab order" to the module that I am creating using Adobe Captivate Version 8. I was not able to insert the tab order feature when I switched to the responsive project mode (project for Destop, Tablet, and Mobile).
    Kindly guide me to insert tab order. I have checked all the online resources but was not able to find the relevant steps to create "tab order" in Captivate 8.
    Thanks!
    Peace

    Hi,
    You can set the Tab order for Interactive objects from the Properties panel:
    This will open a dialog where you can arrange the order for all the interactive objects on your slide.
    Hope this helped!
    Regards,
    Mohana

  • How to Control the Sorting Order of iPhone Contacts from Outlook?

    In a series of editing steps we've loaded ca. 1,900 personal and business contacts from Outlook into a 1st gen iPhone with 2.0.1 software on it. To our surprise we found that while most of the entries were listed and sorted by company, certain entries were listed and sorted by the person's name. It looked random and there didn't seem to be any way to control it on the iPhone.
    While troubleshooting the problem we synced up the iPhone with an empty Address Book on a MacBook Pro and found that the sort order flag was indeed set differently on these entries. When we changed the sorting flag of a contact in the Mac's Address Book to "Company" it also changed on the iPhone after the next sync.
    Problem: In our business environment it is impossible to switch to Macs for contact administration. We need to do it from Outlook. This is one of several features needed for the adoption of iPhones.
    Question: Is there a way to control this flag on the individual iPhone contact entries from Outlook Contacts?

    Well, I think we figured it out.
    Outlook doesn't offer a sorting flag on person or company name. Instead it uses a separate "File As" string. The problem with our contacts was that this "File As" string was frequently edited to be something else than exactly the personal or company name, e.g. it was set to an abbreviated company name. Once we set the "File As" to any of the defaults offered, i.e. person or company name, the sorting flag in iPhone was properly set through the synchronization.
    Obviously, the application logic compares the content of these fields in Outlook and decides how to set the flag. If it can't find the company name in "File As" it defaults to person.
    This was an expensive holdup for us. It cost us 2 man days to figure it out. Is there any place where such application logic is described?

  • Changing the Z-Order of objects

    Is it possible to change the z-ordering of items, either as they are being drawn or at a later time?  I have an extension that calculates and draws overlapping objects, and in order to get the sizes and positions correct, I need to occasionally move some of the items back after they are created.  The ADK appears to have some basic ability do adjust selected items, but it would be a lot easier if I could simply create the object and then place it into the correct z-order location.

    You can get a UIDList of frames to bring to the front and call:
    UIDList framesToResort =.......
    Arranger::SortItemsBackToFront( &framesToResort );
    Or you can use the commands BringToFrontCmd, BringForwardCmd, SendBackwardCmd, SendToBackCmdBoss

  • Controlling the layout of application objects in MIDP

    If I don't want to use the MIDP high level user interface API, can I control the layout and position of application objects in MIDP?
    thanks in advance,
    Rani

    Yes. The low level API's give application developers complete control over the screen real estate allocated to the application. The low level APIs allow the application draw its own graphics and to
    respond to event inputs from the device keypad. Devices are required to have a ITU-T keypad, which has buttons for 0-9, *, and #. The low level APIs give the application developer more control
    over what the user sees but make the application less portable.
    Hope this answers the question,
    cheers!!!!
    MFALI
    ~SUN

  • Controling the PM ORDER tabs and subscreen

    Hello
    We are trying to customize PM ORDER.
    We looked for a way in which we could control the appearance of tabs and subscreens in customization and found none.
    We found that ther is a BADI IWO1_SCREEN_MODIF that seems to be for that purpose.
    Is it the only way or there is a way like when customizing notification.
    Second question is about the notification fields when creating a PM ORDER that creates a notification. We have not found any way of controling the tabs and subscreens.
    Best regards
    Shlomo Assouline

    Hi Shlomo Assouline,
    GuiXT is a SAP Partner software integrated with Standard SAP.
    This helps in Changing the Field names, Location, Screen Layout etc with out any program and with simple syntax.
    It gives amazing results if done properly. It has a big drawback too. It is PC specific & cannot be controlled based on who logins etc. But if you want same screen through out your Business the small TXT file created can be copied into other PC (personal Computer) as well.
    For detailed information on this see the link www.synactive.net. It has some Tutorials too there.
    The path in SAP to activate it is Click on "Customise Local Layout" the button adjacent to Help button after you logon.
    Under that you will see "Activate GuiXT". From there on you can proceed. When you do not require switch it off as it is Toggle Button.
    Regards,
    MLN Prasad

  • How I can change the z-order of objects?

    Hi,
    I'm creating subform that contains "tabs", I want to change the z-order of the a tab when it's clicked to be on top of other tabs.
    it seems instanceIndex does not work or it wan not mint for this kind of visual effects. 
    Any idea on how this can be achieved?
    BR,
    Yasser

    Simple. Use the reorder button on the toolbar.
    Message Edited by Dennis Knutson on 10-18-2007 03:06 PM
    Attachments:
    Reorder Button.PNG ‏2 KB

  • Controlling the sort order for a column?

    I have a column which uses strings that I want to sort on. But, I don't want to do simple string sorting. Can I effect the sort order somehow? Maybe enumerate the values and assign integers to them?
    For example, I want to use Low, Medium, and High. Or maybe: L-, L, L+, M-, M, M+, H-, H, H+
    Any pointers on how to do this?

    Todd,
    Not knowing what you're trying to sort, it is difficult to make specific suggestions. Basically, two approaches come to mind. 1) start the lines of the column you want to sort with some type of sort code or 2) place that sort code in another column and sort on two columns - possible hiding the one with the codes.
    The next problem is designing a code that fits your situation. In the example you gave something like 1L-,2L,3L,...,8H,9H may work because there are only 9 categories. If more than 9, two digit numbers may work but remember to use leading zeros to pad single digit numbers.
    The code could also be alpha characters with relevance such as "Auto", "Clot", "Food", "Hous", "Misc", etc. But again, if these alphabetic categories are not in the order you like you may have to precede them with some sequence device to get what you want. Maybe something like "aFood", "bClot", "cHous", etc. would work. Designing a code applicable to a given situation that one can easily remember is not always easy.
    Hope this gives to something to think about and if you care to give more details you'll surely get some specific suggestions.
    pw

  • How do I control the photo order in albums transfered to the ipad?

    I sync a file of photo albums from my Mac to my iPad.  Sometimes the order is alphabetic based on the name of each photo (desired) and sometimes the order is some other order perhaps based on when the picture was taken.  How do I ensure that the photos come in in alphabetic order? (i.e. Haiti-101, Haiti-102...)

    iOS: Understanding photo sorting
    And the article states .....
    If you are using iPhoto or Aperture for Mac OS X, your photos automatically sort on your device in the same order in which they are sorted in iPhoto or Aperture. Changes made to the sorting of your pictures in your iPhoto or Aperture albums and events are reflected on the device after syncing.

  • Control the output order of a CFSearch

    What is the proper procedure to take the return from a CFSearch and set the order based on one of the fields to be displayed in numerical, alphabetical, whatever?
    I understand how to use the result of the CFSearch to index into another source but that's one record at a time.  I want to re-order the cfsearch output to be in a defined order rather than the returned order based on ranking if I understand the process correctly.
    What to do?

    Basically we want to search a large inventory database and the client would like the output in an Alpha format.  I figured that the verity search would be the easiest way to parse through the data as well as allow for using wildcard chars.
    Ah right.  I probably would not use Verity to do that.  I'd use your DB's free-text search capabilities for this sort of thing, and do the work on the DB rather than getting Verity to drag it all out, then use CF to re-order it.
    I can get what I want except that I don't quite understand how to take the cfsearch return and then re-sort the data.
    This has been covered in previous responses: query on query will effect this.  However I don't think Verity & QoQ is the best approach to the requirement, now that I better understand what the requirement is.
    Adam

  • Controlling the load order of swfs in a HTML document

    Hi all I have a document containing multiple swfs. Is there
    anyway I can control which swf loads first etc. Obvisouly it would
    start from which ever one is higher in the HTML document.
    However I would like to control what loads first, also can
    this be done with the images in the document?
    Any help is much appreciated.

    In your web.xml, under the servlet tag, make A.jsp be loaded the first, at your web app 's startup:
    <jsp-file>A.jsp</jsp-file>
    <load-on-startup>0</load-on-startup>
    ...

  • User exit to control the sales order creation

    Hi All,
    I have a business scenario, where a specific account group customers Business doesn't want to sell the goods .SAP should not allow you to create a sales order.
    Which user exit will solve my requirement?
    could you please help me..
    Regards,
    SK

    Hi Prakash,
    Thanks for the reply. Actually these customers are created as a Agents and we are using these customers in Commission rebates. So at the time of Rebate partial credit memo, then these agents should be active otherwise system will give the error.
    So what i am thinking is, Standard sales order creation needs to be restricted so that users can not able to create standard order.
    So can you suggest is there any user exit can be used to prevent creation of standard order for these account group and order type xxx?
    Regards,
    SK

  • Control the property of an object in main stage from a loaded swf timeline

    please someone help me here, im loosing my mind
    i have a UILoader that loads an image from an xml list when you click its thumbnail ( in its thumbnails mc on mainstage aswell)
    thing is, i have another UILoader on the layer above that loads in a swf ( a slideshow that fades in and out the pictures when they change to the next,
    with all the coding on frame 1, frame 2 only has a stop and some code for when the mouse is idle for 5 secs it goes back to frame 1)
    so when you go to "portraits" it takes you to frame "x" where the slideshow ( loaded external swf ) starts playing automaticly right,
    if i click any thumbnail the slideshow goes to frame 2 ( wich is perfect and the mouse idle thing i wanted works great ) the ONLY THING IS
    after the slideshow runs by default for the first time ( i enter the category portraits )
    and i click any thumbnail ( moving slideshow swf to frame 2 enabling mouse idle event )
    and the mouse is idle ( so it does the event and starts playing the slideshow again ( goes back to frame 1 ) )
    I CANT MAKE THE UILOADER OF THE THUMBS IMAGE TO DISSAPPEAR!!!
    i have tried everything i can think of and everything i have read trying to adapt it with what i know,
    im no guru at this i reeeeally need some help
    THANK YOU  SO VERY MUCH ! 

    and where would i put the remove.simpleScreen ( simpleScreen is the loader i would want to remove )
    would it be on the external swf on frame 1 where the slideshow plays?
    or in the main timeline's category's frame?
    the problem ( that i see ) is that both loaders are on the same frame ( different layers tho )
    so if i put a the remove simplescreen there it wont show me the pictures when i click the thumbs
    or could i make it so that it removes it BECAUSE its playing on frame 1 ?

  • Defining the order of objects when using Distribute?

    VERSION: Illustrator CC Mac
    So, I've always assumed that the order of the layers determined the order and position that shapes are moved in the Distribute function.
    I'm having a wierd problem today and the order seems to be defined by something I can't figure out. I'm trying to vertically distribute a set of the same shape and instead of counting the shapes in order from left to right or vise versa the distribute function seems to be randomly picking the order of the shape, not basing it on location or layer order.
    Here are a couple of examples:
    In both examples I have used a Vertical Distribute Center and both groups of shapes are ordered from left to right in the layers palette with the left most layer being the first layer and the right most shape being the last.
    What is causing the shapes to be distributed in this order? How do I specify what the order is if it isn't based on layer or position order?

    So, I've always assumed that the order of the layers determined the order and position that shapes are moved....
    Wrong assumption. Only true sometimes.
    ...instead of counting the shapes in order from left to right...
    Wrong assumption again.
    So first, let's deal with the above assumptions:
    When distributing objects, you are not usually talking about stacking order at all. You are talking about modifying initial reading order based on the initial relative X or Y positions.
    Although you want stacking order to be a factor in some cases, you wouldn't want it in every case. Nor would you want it to be the default criteria. To understand this, consider the matter of reading order in text objects:
    You open a PDF. As is often the case, it has a plethora of individual text objects. Those objects have a particular reading order which is really nothing but a perception of the viewer based on their relative positions. There is no guarantee whatsoever that the object stacking order corresponds to the reading order (creation order). For all the viewer knows, the body text may in fact have been created before the decorative headlines. The subheads, bullets, and callouts may also have been created in any unknown order.
    In fact, I have just such a real-world frequently-reccuring situation: DXFs exported from engineering drawings frequently contain columns/rows of text in which the reading order does not correspond to the object stacking order. If the DXF is opened in Illustrator and then those text objects are threaded, or if their text is copied and pasted to concatenate them into a single text object, their reading order becomes scrambled, because threading and concatenating text is indeed dependent upon object stacking order (as are Blends, Mesh patches, and Pattern Brush tiles). By the same token, if those "lines" of text are distributed for uniform spacing and if the result were determined by the object stacking order, the text reading order would be similarly ruined.
    So for this and similar situations I wrote a set of Javascripts which I use to rearrnage the stacking order of objects according to their relative positions on the page (i.e.; their reading order) first, before concatenating the text. But you wouldn't want to have to do this in every situation in which you want to distribute every and all kind(s) of objects.
    The concept of "reading order" is not limited to text. Consider a fan of playing cards in a poker player's hand. Or chess pieces on a board. Or a row of houses on a map. Fence slats. Deck boards. Bricks or stones. Holiday icons on a calendar grid. You might want to make the XY spacing of such objects uniform, but that doesn't mean you want the stacking order changed, and inversely it doesn't mean you want the XY positions to be determined by stacking order.
    So unless and until there is an "Ordered By:" control with which the user specifies "Stacking Order" or "Reading Order" (which there isn't), the feature just uses initial position values (reading order) as the first sorting criteria, and this is the most "normal" behavior.
    ...drawing a set of overlapping squares in decreasing size order, smallest on top. Drag the top square out of alignment.
    I start with a group of shapes, all repeatedly copied from the first one on the far left...Then I move up the last one up...
    On the left is before with two circles on top of each other...
    In all the above instances, note that the situation starts with multiple objects already aligned in the direction of desired distribution, and moving only one of them before performing the distribution. So think of the math:
    You have a set of horizontal position values: [0,0,0,3]. You want to "equally space" those values. How do you do that if, as explained above, stacking order is not a determinant? How do you "order" three zeros based on their numeric values? The instructions are ambiguous. In such situations, you have to use some other secondary criteria, even if it is arbitrary; even if it is random. Example:
    Understand, I'm just replying to your initial post here. I'm not saying there is no bug in the Distribute interface. There may be, and if so, the bug(s) may be version-specific. I'm not addressing what Steve is trying to explain in Post 18: But note that when you do what he describes, the Distrubute Spacing value field automatically changes to zero, even if it is initially set to Auto and you are only clicking the Horizontal Distribute Space button.  (At least in CS3; I don't have later versions in front of me right now because I'm not in the studio and I don't have CC at all because I'm not going to rent Adobe's software),
    JET

Maybe you are looking for