How can I arrange the components in a better layout?

Hi,
I found that the layout manager is not enough for me to put things around, there's only some straight position like east, south, southeast, etc. Is there anyway I can put the component in a particular point? Thx.
Adrian

set the LayoutManager to null, by using setLayout(null). Then you can position the components at positions you want by using either component.setLocation(x, y), component.setSize(width, height) or component.setBounds(x, y, width, height).
However, using this has a disadvantage, since if the Container is resized, the components will not adjust accordingly. Thus you may want to set the resizable property false for the container.
~Debopam

Similar Messages

  • How can get all the components used on the current page

    how can I get list of all components being used on the current page using javascript. I have tried CQ.WCM.getComponentList(CQ.WCM.getPagePath()) but this seems to list all the components available.
    Environment CQ 5.5 Update 1, Widnows 7

    You have to remember that once you are in JS, you are only really able to retrieve markup or representations of the DOM.  The markup is the result of a combination of components, which is technically a "server only" concept.  Components are just a way for CQ to organize executable code, so once a page is rendered a component isn't really a thing.  The closest thing I can think of is to list all of the DIVs that represent a component wrapper that are on the page, but this is error prone and clunky.  You could also make AJAX calls back to the server to retrieve a list of the components by node name, but that approach would not return synthetic resources (ones that render, but do not have a node representing them).
    Why are you trying to do this?  Maybe someone has a better idea, but this has a bad smell to me.

  • How can i arrange the songs on my iPod

    I want to arrange the albums by year instead of alphabetically on my iPod.
    I know how to arrange them on iTunes, but they still appear aranged alphabetically on the iPod.
    How can I do that ?

    Have a look at the following thread: http://discussions.apple.com/thread.jspa?threadID=1456738 .
    My answer explains why it happens, but the answer given by turingtest2 might help you.
    Regards,

  • How can i arrange the product list in a specific catalog?

    I want to arrange the product by dragging their product name.
    Is thier any code that i can arrage the product except for Alphabetical or by Price?

    Hi there, the ordering there is not what is relfected in the order of the products.
    There is also no drag and drop there.

  • How can I arrange the order and position of add ons in a single add-on toolbar?

    I have several add-ons in the bottom add-on toolbar in firefox 4. I would like to arrange them in a specific order and have them justify to the right side of the browser. Currently they are on the left side of the add-on bar.

    When you're in the Toolbar Customize mode there's a large Flexible Space in the Add-on Bar, move all the Add-on icons to the right-side of that white Flexible Space and into the order that you want them. If any of those icons are enclosed together by a light rectangle, those are older Statusbar icons which can't be manually re-ordered and will be moved together as one group - the bad thing about Mozilla "grandfathering" the old Statusbar icons.

  • How can I arrange the order of pictures in a slide show and add a caption to each?

    I go to:www.photoshop.com/users/name. Then to My Gallery and click onto the album name then to "slide show." I want to reorder the pictures and add captions. How?

    Go to your photoshop.com website. Log in if needed. Click on "Online Tools."  Choose "Photoshop Express Organizer."  Click and drag photos into the order you want.
    Captions might best be added in the Elements Editor Organizer (99jon is correct) by double-clicking on thumbnail to make a full screen image, then a line appears under the photo and asks you to print your caption there. Sync it with your online website.
    Bill

  • How can I arrange the Open window by Date Created?

    You've already seen my question. The Open window does show Date Modified, but nothing I've tried will allow me to change it or to add Date Created as a column.
    Any help would be greatly appreciated.
    Thanks,
    Ben

    Right-Click on any column head and check off the columns you want included.
    There are also many other arrangement options, just like in the Finder. The options discussed in this article also apply to Open and Save dialogs.

  • How can I arrange the front panel?

    Hello,
    I’m using LV 7.1 and created a VI with many controls and indicators. It writes and reads data to and from a bus system. For that I used the flat sequence structure and many case structures.
    Now I would like to order the front panel, i.e. by using the tab control only the data read or only the user settings should be displayed.
    But using the tab control slows the whole VI down, so that a data recording in real time is impossible.
    Are there any other possibilities to bring the front panel into order if the number of controls and indicators is too high for the screen?
    Thanks in advance,
    UoS

    Do you mean that the CPU usage goes up and the PC responds slowly. If so, this is interesting. This is most likely related to a grphical element causing the system to slow down. The tab control should theoretically take care of this, but about a year ago I ran into a similar situation where a tab caused problem here. In that case it looked like controls that were partially displayed caused the problem and when using the tab control the problem was there even when displaying another page. If this is so, you can try to determine the source by scrolling the screen in different directions. Once the problematic area is moved off the screen the VI should run faster. This way you can tell which area has the problem.
    Try to take over the world!

  • How can I arrange the need for 2 (successive) commands before a message is actually sent?

    In outlook express i have to use 2 successive commands before a message is actually sent. Can i have this also in Thunderbird?

    well perhaps you could say what those commands are? Tell the whole story of what and why. Because as it stands I have no idea what your talking about.

  • How can I hide the menu bar of better a specific option without using an addon?

    For security purpose on my environment, I would like to hide the Menu Bar option or (better) restrict the right to install an add-on, change the proxy configuration etc..
    I dont want to use an add-on for that as it will perhaps not work anymore if I update my firefox.
    So i am searching for a registry/file user preference solution or anything else that will let me doing that.
    Thank you for your help
    == This happened ==
    Every time Firefox opened
    == everytime ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    You can hide the menu bar and other toolbars with code in [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line.
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #toolbar-menubar {display:none!important;}</nowiki></pre>
    See also http://kb.mozillazine.org/Locking_preferences

  • I phone purchased online  did not boot and it is said to have been locked through i cloud and i an unable to contact the seller how can i activate the phone

    I phone purchased online  did not boot and it is said to have been locked through i cloud and i an unable to contact the seller how can i activate the phone

    Unfortunately, your best bet is to obtain original proof of purchase and escalate your issue for assistance in detaching the Apple ID from that device. If your unable to get the proof of purchase, expensive paperweight . Did you get it through amazon?? Because I just got one through amazon....
    <Edited by Host>

  • How can I use the same session for different components acroos application ?

    I am trying to include the components(chat, filesharing, whitboard) in different parts of my application. User should be able to access any of the component. We would like to have a single "ConnectSessionContainer" so that we don't see same user creating a seperate session for each component.
    Is there a better way of dealing with this other than declaring the "ConnectSessionContainer" in the main application ? Is there a way to check if we have a "ConnectSessionContainer" session already established ? Please help . Thanks.

    Thanks for the response. Let me explain what I am trying to do..
    I am trying to create components at different places(screens) of the flex application (not in the same .mxml file).
    Each time I create a component, I am using a "AdobeHSAuthenticator" and "ConnectSessionContainer" which is resulting a new participant in the room.
    For example
    screen1.mxml -
    <mx:Panel>
    <rtc:AdobeHSAuthenticator id="auth" authenticationSuccess="onAuthSuccess(event);" authenticationFailure="onAuthFailure(event);" />
    <rtc:ConnectSessionContainer id="mySession" >
            <rtc:Roster id="myRoster" width="100%" height="100%" />
            <rtc:Chat id="mychat" width="100%" height="100%" />
    </rtc:ConnectSessionContainer>
    </mx:Panel>
    screen2.mxml (in the same application) -
    <mx:Panel>
    <rtc:AdobeHSAuthenticator id="auth" authenticationSuccess="onAuthSuccess(event);" authenticationFailure="onAuthFailure(event);" />
    <rtc:ConnectSessionContainer id="mySession" >
            <rtc:SharedWhiteBoard id="wb" width="100%" height="100%" />
    </rtc:ConnectSessionContainer>
    </mx:Panel>
    Here, I open a screen1 and authenticate as UserA and when I try to open screen2 flex is considering me as another user though I am in the same application.
    1) How can I use different components which are in different flex files as a same User ?
    2) Should I place my <rtc:AdobeHSAuthenticator> and <rtc:ConnectSessionContainer> in the main application which calls the screen.mxml?
    3) What is the best way to do it ?
    Thanks for your time !

  • How can I find the reference field of components ?

    Hi everyone ;
    I am a Junior Abap Developer. I am  creating a structure that I will use in the report program. When I create a structure , some of the components needs to get reference field.Ex: NETWR,BTGEW,KWMENG.  How can i find the reference field of component?

    Hi,
    You have to put entries for currencies and quantity fields for these fields,
    Like for NETWR reference table is VBAK and field is WAERK,
    for other Quantity field you can use MEINS as reference field.
    You can check the reference table and reference fields in the respective tables( i.e. VBAP here).
    Thanks,
    Anmol.

  • How can I remove the watermark in the charting/visualization components?

    I'm using FB3 beta 3 (Build 190133). I tried the activation,
    but the activation window only shows an edit field for the FB3
    serial number. If I enter my FB2 serial number, I get the warning
    "Serial number is invalid".
    How can I remove the watermark in the charting
    components?

    Hi,
    Beta 3 doesn't accept the Flex 2 serial numbers. If you have
    a need to remove the watermark you can contact me offlist at
    mchotin AT adobe DOT com.

  • How can we restrict the type of components that can be dragged and dropped from the sidekick CQ

    how can we restrict the type of components that can be dragged and dropped from the sidekick CQ

    Generally drop the components at parasys. The components allowed on the parsys is control via the design mode of the page.So restrict components at the design of the parsys. http://dev.day.com/docs/en/cq/current/wcm/working_with_cq_wcm/using_edit_designandpreviewm odes.html#Design%20Mode

Maybe you are looking for

  • Displaying a widget (JPanlel) at fixed positions

    Hi! I have a form and I want to display a JPanel when I click on different widgets with its left-top corner at the mouse location. I think I can figure out how to get the mouse coordinates, but I don't know how to tell a JPanel to position itself at

  • Adding harddrives to g4 quicksilver 867

    Hi All, I have added a 120 hard drive to the 60 drive in my G4. Is there a way to add more then 1 to it. Adding the additional was easy, the connection was there but not sure if the g4 can handle more than 1 and if so how do I do it. Thanks for you t

  • Deletion of an  for a commandtoolbar button popup entry in one browser is not reflecting in other browser

    Hi, I am  facing a problem with commandtoolbar button. Consider I am using the application in two browsers say IE9 and Chrome. There is a commandtoolbar button which shows recently saved search for the application. The main problem is when you delete

  • Best Eclipse Book for J2EE Development ?

    Dear all, Give me the names of some good books dealing with J2EE development by Eclipse. Step by Step details should be there and developing a full fledged J2EE applications like a Library management for example. I am using Eclipse 3.1.2 , ObjectWeb

  • Crop Tool - can you get it to select areas to be removed?

    The Crop Tool on my AAX selects the area to be retained.  Can you alter the tool so that it selects the area to be removed instead? I'm trying to remove just the white space in the middle of a page.  My pages have some lines of text at the top, then